[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.140,1.140.2.1
Guido van Rossum
gvanrossum@users.sourceforge.net
2001年8月20日 20:05:19 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv30284/api
Modified Files:
Tag: r22a2-branch
api.tex
Log Message:
Merge the Docs from the trunk for the last time.
Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.140
retrieving revision 1.140.2.1
diff -C2 -d -r1.140 -r1.140.2.1
*** api.tex 2001年08月16日 13:14:59 1.140
--- api.tex 2001年08月21日 03:05:17 1.140.2.1
***************
*** 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}