From: Fred Drake Date: Tue, 12 Mar 2002 20:18:01 +0000 (+0000) Subject: Add a note that Py_None needs the same reference count treatment as any X-Git-Tag: v2.2.1c1~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=804fea92fd554a7a1d33447f7961b723af7dc700;p=thirdparty%2FPython%2Fcpython.git 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 13f1f0ab8180..ca6bd6204173 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}