Skip to content

Commit 8906f14

Browse files
committed
issue22780: update NotImplemented description
1 parent b8fa289 commit 8906f14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/constants.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ A small number of constants live in the built-in namespace. They are:
2626

2727
.. data:: NotImplemented
2828

29-
Special value which can be returned by the "rich comparison" special methods
30-
(:meth:`__eq__`, :meth:`__lt__`, and friends), to indicate that the comparison
31-
is not implemented with respect to the other type.
29+
Special value which should be returned by the special methods
30+
(:meth:`__eq__`, :meth:`__lt__`, :meth:`__add__`, etc.) to indicate
31+
that the operation is not implemented with respect to the other type.
3232

3333

3434
.. data:: Ellipsis

0 commit comments

Comments
 (0)