]> granicus.if.org Git - python/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:12:54 +0000 (20:12 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 12 Mar 2002 20:12:54 +0000 (20:12 +0000)
other PyObject *.
This closes SF bug #494007.

Doc/api/concrete.tex

index 1c20876188111c22fd5669b5b6ac43fd8a67dcf5..50405ffd2701d1f33a52f61267fafbaf0c2b92e3 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}