Extended tuple's C API to include a new function, PyTuple_Pack() that is

useful for rapidly building argument tuples without having to invoke the
more sophisticated machinery of Py_BuildValue().
This commit is contained in:
Raymond Hettinger 2003-10-12 18:24:34 +00:00
parent d662548c72
commit cb2da43db8
4 changed files with 37 additions and 1 deletions

View file

@ -140,6 +140,11 @@ Build
C API
-----
- Added a new function, PyTuple_Pack(n, ...) for constructing tuples from a
variable length argument list of Python objects without having to invoke
the more complex machinery of Py_BuildValue(). PyTuple_Pack(3, a, b, c)
is equivalent to Py_BuildValue("(OOO)", a, b, c).
New platforms
-------------