]> granicus.if.org Git - python/commitdiff
document NotImplemented
authorBenjamin Peterson <benjamin@python.org>
Sat, 30 Jul 2011 14:57:24 +0000 (09:57 -0500)
committerBenjamin Peterson <benjamin@python.org>
Sat, 30 Jul 2011 14:57:24 +0000 (09:57 -0500)
Doc/library/stdtypes.rst

index 944e763040989b16bc8039ccfa571c1614140b8f..9ffb48a2efad88c7ce417e51b9f7a477e7cac8b5 100644 (file)
@@ -2932,6 +2932,15 @@ supports no special operations.  There is exactly one ellipsis object, named
 
 It is written as ``Ellipsis``.
 
+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
 --------------