This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gazza7364
Recipients gazza7364
Date 2014-10-23.19:03:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414090996.4.0.97787020472.issue22713@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-10-23 19:03:16gazza7364setrecipients: + gazza7364
2014-10-23 19:03:16gazza7364setmessageid: <1414090996.4.0.97787020472.issue22713@psf.upfronthosting.co.za>
2014-10-23 19:03:16gazza7364linkissue22713 messages
2014-10-23 19:03:16gazza7364create