[Python-checkins] cpython: issue22780: update NotImplemented description
ethan.furman
python-checkins at python.org
Sat Nov 1 00:49:04 CET 2014
https://hg.python.org/cpython/rev/26d0a17affb5
changeset: 93327:26d0a17affb5
parent: 93325:c95ce9b0a085
user: Ethan Furman <ethan at stoneleaf.us>
date: Fri Oct 31 16:48:41 2014 -0700
summary:
issue22780: update NotImplemented description
files:
Doc/library/constants.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst
--- a/Doc/library/constants.rst
+++ b/Doc/library/constants.rst
@@ -26,9 +26,9 @@
.. 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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list