[Python-checkins] python/dist/src/Doc/api concrete.tex,1.49,1.50

montanaro at users.sourceforge.net montanaro at users.sourceforge.net
Thu Jul 29 04:16:07 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12401

Modified Files:
	concrete.tex 
Log Message:
Add missing doc for Py_True/Py_False.  Use the correct macro to define
Py_RETURN_FALSE and Py_RETURN_TRUE.


Index: concrete.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/concrete.tex,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** concrete.tex	28 Jul 2004 14:17:04 -0000	1.49
--- concrete.tex	29 Jul 2004 02:16:04 -0000	1.50
***************
*** 205,219 ****
  \end{cfuncdesc}
  
! \begin{cfuncdesc}{Py_RETURN_FALSE}
! Return Py_False from a function, properly incrementing its reference
! count.
  \versionadded{2.4}
! \end{cfuncdesc}
  
! \begin{cfuncdesc}{Py_RETURN_TRUE}
  Return Py_True from a function, properly incrementing its reference
  count.
  \versionadded{2.4}
! \end{cfuncdesc}
  
  \begin{cfuncdesc}{int}{PyBool_Check}{PyObject* o}
--- 205,229 ----
  \end{cfuncdesc}
  
! \begin{cvardesc}{PyObject*}{Py_False}
!   The Python \code{False} object.  This object has no methods.  It needs to
!   be treated just like any other object with respect to reference counts.
! \end{cvardesc}
! 
! \begin{cvardesc}{PyObject*}{Py_True}
!   The Python \code{True} object.  This object has no methods.  It needs to
!   be treated just like any other object with respect to reference counts.
! \end{cvardesc}
! 
! \begin{csimplemacrodesc}{Py_RETURN_FALSE}
!   Return \constant{Py_False} from a function, properly incrementing its
!   reference count.
  \versionadded{2.4}
! \end{csimplemacrodesc}
  
! \begin{csimplemacrodesc}{Py_RETURN_TRUE}
  Return Py_True from a function, properly incrementing its reference
  count.
  \versionadded{2.4}
! \end{csimplemacrodesc}
  
  \begin{cfuncdesc}{int}{PyBool_Check}{PyObject* o}



More information about the Python-checkins mailing list