]> 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/concrete.tex

index 13f1f0ab818063bd4772f9720fdb3186c56a0530..ca6bd6204173883a8651709054190afe8e327683 100644 (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}