summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2014-10-31 16:48:41 -0700
committerEthan Furman <ethan@stoneleaf.us>2014-10-31 16:48:41 -0700
commit8906f14a68d6ce19923e29d9e433f44d440324b4 (patch)
tree437de7f12474cebbbf678c06560983a47c04f62c
parentb8fa2891526dabbc2f37d0243c093f110c84397a (diff)
downloadcpython-git-8906f14a68d6ce19923e29d9e433f44d440324b4.tar.gz
issue22780: update NotImplemented description
-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 059a21d5c8..a625b43442 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