]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a note that Py_None needs the same reference count treatment as any
authorFred Drake <fdrake@acm.org>
Tue, 12 Mar 2002 20:18:01 +0000 (20:18 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 12 Mar 2002 20:18:01 +0000 (20:18 +0000)
other PyObject *.
This closes SF bug #494007.

Doc/api/api.tex

index e3ba0d2add03fd373140bbe8bc23b25962c5ce2a..62e2eafd0d30fc08992d9dd0ea0f047a54bc17d3 100644 (file)
@@ -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}