[Python-checkins] python/dist/src/Doc/api abstract.tex,1.8.6.9,1.8.6.10

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Wed, 16 Apr 2003 10:30:24 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1:/tmp/cvs-serv32074

Modified Files:
      Tag: release22-maint
	abstract.tex 
Log Message:
As discussed on python-dev, revised docs to note that 
PyObject_IsTrue() can have an error result.  

Also, added missing docs for PyObject_Not().



Index: abstract.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/abstract.tex,v
retrieving revision 1.8.6.9
retrieving revision 1.8.6.10
diff -C2 -d -r1.8.6.9 -r1.8.6.10
*** abstract.tex	9 Apr 2003 18:17:18 -0000	1.8.6.9
--- abstract.tex	16 Apr 2003 17:30:15 -0000	1.8.6.10
***************
*** 290,294 ****
    Returns \code{1} if the object \var{o} is considered to be true, and
    \code{0} otherwise.  This is equivalent to the Python expression
!   \samp{not not \var{o}}.  This function always succeeds.
  \end{cfuncdesc}
  
--- 290,301 ----
    Returns \code{1} if the object \var{o} is considered to be true, and
    \code{0} otherwise.  This is equivalent to the Python expression
!   \samp{not not \var{o}}.  On failure, return \code{-1}. 
! \end{cfuncdesc}
! 
! 
! \begin{cfuncdesc}{int}{PyObject_Not}{PyObject *o}
!   Returns \code{0} if the object \var{o} is considered to be true, and
!   \code{1} otherwise.  This is equivalent to the Python expression
!   \samp{not \var{o}}.  On failure, return \code{-1}. 
  \end{cfuncdesc}