summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-12 20:12:54 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-12 20:12:54 (GMT)
commit6ccdccd35d176dd2fa8685f187f257184a95eb97 (patch)
treedf3ff3d339485f433243fa6a2af704ff46d481a8 /Doc/api
parentf98161764530723e40448262d538fff7d9a99dfc (diff)
downloadcpython-6ccdccd35d176dd2fa8685f187f257184a95eb97.zip
cpython-6ccdccd35d176dd2fa8685f187f257184a95eb97.tar.gz
cpython-6ccdccd35d176dd2fa8685f187f257184a95eb97.tar.bz2
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/api')
-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 1c20876..50405ff 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}