mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Document the NotImplemented object.
This commit is contained in:
parent
5a571639fc
commit
48c2eb9165
1 changed files with 9 additions and 0 deletions
|
@ -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}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue