From 50211fa0f9d1500746d9076af5572870c1f4edaf Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 30 Jul 2011 09:57:24 -0500 Subject: document NotImplemented --- Doc/library/stdtypes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -------------- -- cgit v0.12