Mailing List Archive

CVS: python/dist/src/Doc/api api.tex,1.117.2.11,1.117.2.12
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv7807

Modified Files:
Tag: release21-maint
api.tex
Log Message:
Add a note that Py_None needs the same reference count treatment as any
other PyObject *.
This closes SF bug #494007.


Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.117.2.11
retrieving revision 1.117.2.12
diff -C2 -d -r1.117.2.11 -r1.117.2.12
*** api.tex 6 Dec 2001 20:38:15 -0000 1.117.2.11
--- api.tex 12 Mar 2002 20:18:01 -0000 1.117.2.12
***************
*** 2175,2179 ****
\begin{cvardesc}{PyObject*}{Py_None}
The Python \code{None} object, denoting lack of value. This object has
! no methods.
\end{cvardesc}

--- 2175,2180 ----
\begin{cvardesc}{PyObject*}{Py_None}
The Python \code{None} object, denoting lack of value. This object has
! no methods. It needs to be treated just like any other object with
! respect to reference counts.
\end{cvardesc}