summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/arg.rst
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-12-28 02:58:22 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-12-28 02:58:22 (GMT)
commite7d1e7e5d43e369db602bab35a6d5a47b6e5569e (patch)
treeb95cff8d275584eb3d4f90acd78e012590b3c3cc /Doc/c-api/arg.rst
parenta925bed208a2f8179e72cd40163798cf8f90494f (diff)
downloadcpython-e7d1e7e5d43e369db602bab35a6d5a47b6e5569e.zip
cpython-e7d1e7e5d43e369db602bab35a6d5a47b6e5569e.tar.gz
cpython-e7d1e7e5d43e369db602bab35a6d5a47b6e5569e.tar.bz2
Document Py_VaBuildValue.
Diffstat (limited to 'Doc/c-api/arg.rst')
-rw-r--r--Doc/c-api/arg.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst
index c3da859..144a365 100644
--- a/Doc/c-api/arg.rst
+++ b/Doc/c-api/arg.rst
@@ -534,3 +534,8 @@ and the following format units are left untouched.
If there is an error in the format string, the :exc:`SystemError` exception is
set and *NULL* returned.
+
+.. cfunction:: PyObject* Py_VaBuildValue(const char *format, va_list vargs)
+
+ Identical to :cfunc:`Py_BuildValue`, except that it accepts a va_list
+ rather than a variable number of arguments.