mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Add a note that Py_None needs the same reference count treatment as any
other PyObject *. This closes SF bug #494007.
This commit is contained in:
parent
f981617645
commit
6ccdccd35d
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ There is no \cfunction{PyNone_Check()} function for the same reason.
|
||||||
|
|
||||||
\begin{cvardesc}{PyObject*}{Py_None}
|
\begin{cvardesc}{PyObject*}{Py_None}
|
||||||
The Python \code{None} object, denoting lack of value. This object
|
The Python \code{None} object, denoting lack of value. This object
|
||||||
has no methods.
|
has no methods. It needs to be treated just like any other object
|
||||||
|
with respect to reference counts.
|
||||||
\end{cvardesc}
|
\end{cvardesc}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue