From: Neil Schemenauer Date: Thu, 4 Jan 2001 01:25:50 +0000 (+0000) Subject: Document the NotImplemented object. X-Git-Tag: v2.1a1~434 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48c2eb9165baa370299c2707df2e0280345951e2;p=python Document the NotImplemented object. --- diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index b8256c3e45..cd75d0c956 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -130,6 +130,15 @@ Its truth value is false. \ttindex{None} \obindex{None@{\texttt{None}}} +\item[NotImplemented] +This type has a single value. There is a single object with this value. +This object is accessed through the built-in name \code{NotImplemented}. +Binary number methods may return this value if they do not implement the +operation for the types of operands provided. The interpreter will then +try the reverse operation. Its truth value is true. +\ttindex{NotImplemented} +\obindex{NotImplemented@{\texttt{NotImplemented}}} + \item[Ellipsis] This type has a single value. There is a single object with this value. This object is accessed through the built-in name \code{Ellipsis}.