summaryrefslogtreecommitdiff
path: root/Doc/reference/datamodel.rst
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2014-11-26 21:15:35 -0800
committerEthan Furman <ethan@stoneleaf.us>2014-11-26 21:15:35 -0800
commitb004943e9bca2f938b313172367a271f69aa29a5 (patch)
tree83e1f88812fb39181a691e076a686edc575ff6df /Doc/reference/datamodel.rst
parente823933f9f625607c1c17bb5ac174a0c1595875d (diff)
downloadcpython-git-b004943e9bca2f938b313172367a271f69aa29a5.tar.gz
(3.4) Issue22780: reword NotImplemented docs to emphasise should
Diffstat (limited to 'Doc/reference/datamodel.rst')
-rw-r--r--Doc/reference/datamodel.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index cbccb1e453..43abf82766 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -154,11 +154,16 @@ NotImplemented
This type has a single value. There is a single object with this value. This
object is accessed through the built-in name ``NotImplemented``. Numeric methods
- and rich comparison methods may return this value if they do not implement the
+ and rich comparison methods should return this value if they do not implement the
operation for the operands provided. (The interpreter will then try the
reflected operation, or some other fallback, depending on the operator.) Its
truth value is true.
+ See
+ :ref:`implementing-the-arithmetic-operations`
+ for more details.
+
+
Ellipsis
.. index:: object: Ellipsis