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:
Fred Drake 2002-03-12 20:12:54 +00:00
parent f981617645
commit 6ccdccd35d

View file

@ -74,7 +74,8 @@ There is no \cfunction{PyNone_Check()} function for the same reason.
\begin{cvardesc}{PyObject*}{Py_None}
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}