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 eric.smith
Recipients eric.smith, roccosan, terry.reedy
Date 2019-04-04.12:35:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554381316.64.0.749112811009.issue36524@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-04-04 12:35:16eric.smithsetrecipients: + eric.smith, terry.reedy, roccosan
2019-04-04 12:35:16eric.smithsetmessageid: <1554381316.64.0.749112811009.issue36524@roundup.psfhosted.org>
2019-04-04 12:35:16eric.smithlinkissue36524 messages
2019-04-04 12:35:16eric.smithcreate