[docs] [issue28785] Clarify the behavior of NotImplemented

Martin Panter report at bugs.python.org
Fri Nov 25 08:15:05 EST 2016


Martin Panter added the comment:

Correct, I meant to say the first fallback is the other call.

BTW your suggested text might hold for __eq__(), but for __ne__(), returning NotImplemented seems to bypass the “not a.__eq__(b)” fallback.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28785>
_______________________________________


More information about the docs mailing list