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.1.3~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9868fe65cf1e20c784b37c4696bc072f1901526;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/api.tex b/Doc/api/api.tex index e3ba0d2add03..62e2eafd0d30 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -2174,7 +2174,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. +no methods. It needs to be treated just like any other object with +respect to reference counts. \end{cvardesc}