summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-12 20:12:54 +0000
committerFred Drake <fdrake@acm.org>2002-03-12 20:12:54 +0000
commitd8e4ef7b9184a39db7a63bf9df52c08a6b5ad8c0 (patch)
treeebf4868a786dd76a258c85f612e9755526f39667 /Doc
parent336a6aa98ce6df03bf94d42c63e36f987f45fe19 (diff)
downloadcpython-d8e4ef7b9184a39db7a63bf9df52c08a6b5ad8c0.tar.gz
Add a note that Py_None needs the same reference count treatment as any
other PyObject *. This closes SF bug #494007.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/concrete.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex
index 1c20876188..50405ffd27 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}