From f444f94ed22c52413c97a43ace9054bbc832a890 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 30 Jul 2011 09:57:24 -0500 Subject: [PATCH] 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 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 -------------- -- 2.40.0