Eric V. Smith <e...@trueblade.com> added the comment:

I'm not sure what you're asking here. You're comparing the result of the print 
function to a value. Print returns None, so it doesn't compare equal to any of 
the values you're comparing it to.

To see what's happening, try:

>>> print(None) == None
None
True

But really, your problem is probably a misunderstanding of the return value of 
the print function.

----------
nosy: +eric.smith

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

Reply via email to