[docs] [issue15997] NotImplemented needs to be documented
Martin v. Löwis
report at bugs.python.org
Fri Sep 21 07:57:34 CEST 2012
Martin v. Löwis added the comment:
This must not be documented for NotImplemented, but for the operations itself. On the same page, it says
"There are no swapped-argument versions of these methods (to be used when the left argument does not support the operation but the right argument does); rather, __lt__() and __gt__() are each other’s reflection, __le__() and __ge__() are each other’s reflection, and __eq__() and __ne__() are their own reflection."
So I'd say it's there already.
----------
nosy: +loewis
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15997>
_______________________________________
More information about the docs
mailing list