mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +00:00
issue22780: update NotImplemented description
This commit is contained in:
parent
b8fa289152
commit
8906f14a68
1 changed files with 3 additions and 3 deletions
|
|
@ -26,9 +26,9 @@ A small number of constants live in the built-in namespace. They are:
|
|||
|
||||
.. data:: NotImplemented
|
||||
|
||||
Special value which can be returned by the "rich comparison" special methods
|
||||
(:meth:`__eq__`, :meth:`__lt__`, and friends), to indicate that the comparison
|
||||
is not implemented with respect to the other type.
|
||||
Special value which should be returned by the special methods
|
||||
(:meth:`__eq__`, :meth:`__lt__`, :meth:`__add__`, etc.) to indicate
|
||||
that the operation is not implemented with respect to the other type.
|
||||
|
||||
|
||||
.. data:: Ellipsis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue