New submission from Garry Smith:

Problem with print()
I did the following by accident while in the python console, print = 10, which 
it let me do, to horror.after that I could not use the print() command without 
getting the following error:-

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable

This is what I type in the console.

print = 33
a = 34
print(a)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable.

The only way to get the print command back was close and reopen the console.

----------
messages: 229890
nosy: gazza7364
priority: normal
severity: normal
status: open
title: print()
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22713>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to