Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 48c2eb9

Browse files
committed
Document the NotImplemented object.
1 parent 5a57163 commit 48c2eb9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Doc/ref/ref3.tex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@ \section{The standard type hierarchy\label{types}}
130130
\ttindex{None}
131131
\obindex{None@{\texttt{None}}}
132132

133+
\item[NotImplemented]
134+
This type has a single value. There is a single object with this value.
135+
This object is accessed through the built-in name \code{NotImplemented}.
136+
Binary number methods may return this value if they do not implement the
137+
operation for the types of operands provided. The interpreter will then
138+
try the reverse operation. Its truth value is true.
139+
\ttindex{NotImplemented}
140+
\obindex{NotImplemented@{\texttt{NotImplemented}}}
141+
133142
\item[Ellipsis]
134143
This type has a single value. There is a single object with this value.
135144
This object is accessed through the built-in name \code{Ellipsis}.

0 commit comments

Comments
 (0)