R. David Murray added the comment: Yes, that's the way Python works. In Python3, print became a function and is no longer a keyword, so yes, it can be shadowed in the local namespace just like any other Python function.
---------- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20263> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com