[Python-checkins] python/dist/src/Doc/api utilities.tex,1.15,1.16

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Sun Jul 11 00:20:34 CEST 2004


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

Modified Files:
	utilities.tex 
Log Message:
Add PyArg_VaParseTupleAndKeywords().  Document this function and
PyArg_VaParse().

Closes patch #550732.  Thanks Greg Chapman.


Index: utilities.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/utilities.tex,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** utilities.tex	1 Jul 2004 20:55:42 -0000	1.15
--- utilities.tex	10 Jul 2004 22:20:17 -0000	1.16
***************
*** 146,150 ****
  \begin{cfuncdesc}{PyObject*}{PyImport_AddModule}{char *name}
    Return the module object corresponding to a module name.  The
!   \var{name} argument may be of the form \code{package.module}).
    First check the modules dictionary if there's one there, and if not,
    create a new one and insert it in the modules dictionary.
--- 146,150 ----
  \begin{cfuncdesc}{PyObject*}{PyImport_AddModule}{char *name}
    Return the module object corresponding to a module name.  The
!   \var{name} argument may be of the form \code{package.module}.
    First check the modules dictionary if there's one there, and if not,
    create a new one and insert it in the modules dictionary.
***************
*** 676,679 ****
--- 676,685 ----
  \end{cfuncdesc}
  
+ \begin{cfuncdesc}{int}{PyArg_VaParse}{PyObject *args, char *format,
+                                          va_list vargs}
+   Identical to \cfunction{PyArg_ParseTuple()}, except that it accepts a
+   va_list rather than a variable number of arguments.
+ \end{cfuncdesc}
+ 
  \begin{cfuncdesc}{int}{PyArg_ParseTupleAndKeywords}{PyObject *args,
                         PyObject *kw, char *format, char *keywords[],
***************
*** 684,687 ****
--- 690,700 ----
  \end{cfuncdesc}
  
+ \begin{cfuncdesc}{int}{PyArg_VaParseTupleAndKeywords}{PyObject *args,
+                        PyObject *kw, char *format, char *keywords[],
+                        va_list vargs}
+   Identical to \cfunction{PyArg_ParseTupleAndKeywords()}, except that it
+   accepts a va_list rather than a variable number of arguments.
+ \end{cfuncdesc}
+ 
  \begin{cfuncdesc}{int}{PyArg_Parse}{PyObject *args, char *format,
                                      \moreargs}



More information about the Python-checkins mailing list