mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
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:
parent
d662548c72
commit
cb2da43db8
4 changed files with 37 additions and 1 deletions
|
|
@ -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
|
||||
-------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue