[issue39111] Misleading documentation

Brett Cannon report at bugs.python.org
Fri Dec 20 12:42:00 EST 2019


Brett Cannon <brett at python.org> added the comment:

And to be more specific, == is guaranteed to work by falling back to object.__eq__() which falls back to object identity if the object doesn't have a custom __eq__() method.

----------

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


More information about the Python-bugs-list mailing list