mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
parent
fcadf6bdaf
commit
7a700b873b
3 changed files with 4 additions and 6 deletions
|
|
@ -85,7 +85,7 @@ This section describes Python type objects and the singleton object
|
|||
|
||||
\subsection{The None Object \label{noneObject}}
|
||||
|
||||
\obindex{None@\texttt{None}}
|
||||
\obindex{None}
|
||||
Note that the \ctype{PyTypeObject} for \code{None} is not directly
|
||||
exposed in the Python/C API. Since \code{None} is a singleton,
|
||||
testing for object identity (using \samp{==} in C) is sufficient.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue