Georg Brandl added the comment:
This is as expected; the new global name "print" overrides the builtin name
"print".
(What you could also have done to remove your binding is "del print", which
removes the global binding.)
--
nosy: +georg.brandl
resolution: -> not a bug
status: open -
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 "", line 1