summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-07-30 14:57:24 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-07-30 14:57:24 (GMT)
commit50211fa0f9d1500746d9076af5572870c1f4edaf (patch)
treeb849601f0952fe5fd85bd68c637bea2b65cb59e4 /Doc
parentb603b2777563e48d3b8209e2169567c84c4bee27 (diff)
downloadcpython-50211fa0f9d1500746d9076af5572870c1f4edaf.zip
cpython-50211fa0f9d1500746d9076af5572870c1f4edaf.tar.gz
cpython-50211fa0f9d1500746d9076af5572870c1f4edaf.tar.bz2
document NotImplemented
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index e43fc04..edad9c7 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2711,6 +2711,15 @@ special operations. There is exactly one ellipsis object, named
It is written as ``Ellipsis`` or ``...``.
+The NotImplemented Object
+-------------------------
+
+This object is returned from comparisons and binary operations when they are
+asked to operate on types they don't support. See :ref:`comparisons` for more
+information.
+
+It is written as ``NotImplemented``.
+
Boolean Values
--------------