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 -> closed _______________________________________ 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