From: Benjamin Peterson Date: Sat, 30 Jul 2011 14:57:24 +0000 (-0500) Subject: document NotImplemented X-Git-Tag: v2.7.3rc1~557 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f444f94ed22c52413c97a43ace9054bbc832a890;p=python document NotImplemented --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 944e763040..9ffb48a2ef 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 --------------