]> granicus.if.org Git - python/commitdiff
issue22780: update NotImplemented description
authorEthan Furman <ethan@stoneleaf.us>
Fri, 31 Oct 2014 23:48:41 +0000 (16:48 -0700)
committerEthan Furman <ethan@stoneleaf.us>
Fri, 31 Oct 2014 23:48:41 +0000 (16:48 -0700)
Doc/library/constants.rst

index 059a21d5c83ead3a80060be885ac94e6f87e5cec..a625b43442687c178e25381aadcc804a6083534c 100644 (file)
@@ -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