From: Benjamin Peterson Date: Sat, 30 Jul 2011 14:57:24 +0000 (-0500) Subject: document NotImplemented X-Git-Tag: v3.2.2rc1~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50211fa0f9d1500746d9076af5572870c1f4edaf;p=python document NotImplemented --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index e43fc041c3..edad9c7df6 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 --------------