[issue36524] identity operator

SilentGhost report at bugs.python.org
Thu Apr 4 16:42:08 EDT 2019


SilentGhost <ghost.adh at runbox.com> added the comment:

Rocco, == is an equality operator, "is" is used for identity testing. If you have an example of documentation that states that == is an identity operator, do report it and we'd be glad to fix it.

The print function does not change the object, it's the print function itself that return None.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36524>
_______________________________________


More information about the Python-bugs-list mailing list