From: Fred Drake Date: Tue, 12 Mar 2002 20:12:54 +0000 (+0000) Subject: Add a note that Py_None needs the same reference count treatment as any X-Git-Tag: v2.3c1~6513 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ccdccd35d176dd2fa8685f187f257184a95eb97;p=python Add a note that Py_None needs the same reference count treatment as any other PyObject *. This closes SF bug #494007. --- diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 1c20876188..50405ffd27 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -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}