summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2014-11-27 05:17:53 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2014-11-27 05:17:53 (GMT)
commit9b55089999bfb12b0c8f6e9ccd91f712831f31dc (patch)
treef5c0e709a3e438c2af35883f9cf75649f1595142 /Doc/reference
parent0a59d5563ecb632a61d8e45761824c76bfacbeea (diff)
parentb004943e9bca2f938b313172367a271f69aa29a5 (diff)
downloadcpython-9b55089999bfb12b0c8f6e9ccd91f712831f31dc.zip
cpython-9b55089999bfb12b0c8f6e9ccd91f712831f31dc.tar.gz
cpython-9b55089999bfb12b0c8f6e9ccd91f712831f31dc.tar.bz2
Issue22780: reword NotImplemented docs to emphasise should
Diffstat (limited to 'Doc/reference')
-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 928b1a8..896416e 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