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

Fred L. Drake fdrake@users.sourceforge.net
Mon, 20 Aug 2001 09:49:01 -0700


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

Modified Files:
	api.tex 
Log Message:
Document PyTuple_GET_SIZE(), removing confusing sentence from PyDict_Copy()
description.

This fixes SF bug #453111.


Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.140
retrieving revision 1.141
diff -C2 -d -r1.140 -r1.141
*** api.tex	2001/08/16 13:14:59	1.140
--- api.tex	2001/08/20 16:48:59	1.141
***************
*** 3591,3594 ****
--- 3591,3599 ----
  \end{cfuncdesc}
  
+ \begin{cfuncdesc}{int}{PyTuple_GET_SIZE}{PyObject *p}
+ Return the size of the tuple \var{p}, which must be non-\NULL{} and
+ point to a tuple; no error checking is performed.
+ \end{cfuncdesc}
+ 
  \begin{cfuncdesc}{PyObject*}{PyTuple_GetItem}{PyObject *p, int pos}
  Returns the object at position \var{pos} in the tuple pointed
***************
*** 3781,3786 ****
  
  \begin{cfuncdesc}{PyObject*}{PyDict_Copy}{PyObject *p}
! Returns a new dictionary that contains the same key-value pairs as p.
! Empties an existing dictionary of all key-value pairs.
  \versionadded{1.6}
  \end{cfuncdesc}
--- 3786,3791 ----
  
  \begin{cfuncdesc}{PyObject*}{PyDict_Copy}{PyObject *p}
! Returns a new dictionary that contains the same key-value pairs as
! \var{p}.
  \versionadded{1.6}
  \end{cfuncdesc}