[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.113,1.114

Fred L. Drake fdrake@users.sourceforge.net
Tue, 03 Apr 2001 18:25:19 -0700


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

Modified Files:
	api.tex 
Log Message:

Document PySequence_Size(), and describe PySequence_Length() as simply an
alternate name for the same function.


Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.113
retrieving revision 1.114
diff -C2 -r1.113 -r1.114
*** api.tex	2001/03/28 21:14:32	1.113
--- api.tex	2001/04/04 01:25:17	1.114
***************
*** 1877,1885 ****
  \end{cfuncdesc}
  
! \begin{cfuncdesc}{int}{PySequence_Length}{PyObject *o}
  Returns the number of objects in sequence \var{o} on success, and
  \code{-1} on failure.  For objects that do not provide sequence
  protocol, this is equivalent to the Python expression
  \samp{len(\var{o})}.\bifuncindex{len}
  \end{cfuncdesc}
  
--- 1877,1889 ----
  \end{cfuncdesc}
  
! \begin{cfuncdesc}{int}{PySequence_Size}{PyObject *o}
  Returns the number of objects in sequence \var{o} on success, and
  \code{-1} on failure.  For objects that do not provide sequence
  protocol, this is equivalent to the Python expression
  \samp{len(\var{o})}.\bifuncindex{len}
+ \end{cfuncdesc}
+ 
+ \begin{cfuncdesc}{int}{PySequence_Length}{PyObject *o}
+ Alternate name for \cfunction{PySequence_Size()}.
  \end{cfuncdesc}