summaryrefslogtreecommitdiffstats
path: root/Doc/library/constants.rst
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2014-10-31 23:48:41 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2014-10-31 23:48:41 (GMT)
commit8906f14a68d6ce19923e29d9e433f44d440324b4 (patch)
tree437de7f12474cebbbf678c06560983a47c04f62c /Doc/library/constants.rst
parentb8fa2891526dabbc2f37d0243c093f110c84397a (diff)
downloadcpython-8906f14a68d6ce19923e29d9e433f44d440324b4.zip
cpython-8906f14a68d6ce19923e29d9e433f44d440324b4.tar.gz
cpython-8906f14a68d6ce19923e29d9e433f44d440324b4.tar.bz2
issue22780: update NotImplemented description
Diffstat (limited to 'Doc/library/constants.rst')
-rw-r--r--Doc/library/constants.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst
index 059a21d..a625b43 100644
--- a/Doc/library/constants.rst
+++ b/Doc/library/constants.rst
@@ -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