diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2014-11-27 05:15:35 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2014-11-27 05:15:35 (GMT) |
commit | b004943e9bca2f938b313172367a271f69aa29a5 (patch) | |
tree | 83e1f88812fb39181a691e076a686edc575ff6df /Doc/reference/datamodel.rst | |
parent | e823933f9f625607c1c17bb5ac174a0c1595875d (diff) | |
download | cpython-b004943e9bca2f938b313172367a271f69aa29a5.zip cpython-b004943e9bca2f938b313172367a271f69aa29a5.tar.gz cpython-b004943e9bca2f938b313172367a271f69aa29a5.tar.bz2 |
(3.4) Issue22780: reword NotImplemented docs to emphasise should
Diffstat (limited to 'Doc/reference/datamodel.rst')
-rw-r--r-- | Doc/reference/datamodel.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index cbccb1e..43abf82 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 |