diff options
author | Fred Drake <fdrake@acm.org> | 2002-03-12 20:12:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-03-12 20:12:54 (GMT) |
commit | 6ccdccd35d176dd2fa8685f187f257184a95eb97 (patch) | |
tree | df3ff3d339485f433243fa6a2af704ff46d481a8 /Doc/api | |
parent | f98161764530723e40448262d538fff7d9a99dfc (diff) | |
download | cpython-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.tex | 3 |
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} |