diff options
author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2019-02-25 16:59:12 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-02-25 16:59:12 (GMT) |
commit | 234531b4462b20d668762bd78406fd2ebab129c9 (patch) | |
tree | f0a93cbdf6ebf42055498ea9533891cec0680bcf /Include/internal/pycore_tupleobject.h | |
parent | 55e335d7d59be44819c6b672d258e2d5feb1e633 (diff) | |
download | cpython-234531b4462b20d668762bd78406fd2ebab129c9.zip cpython-234531b4462b20d668762bd78406fd2ebab129c9.tar.gz cpython-234531b4462b20d668762bd78406fd2ebab129c9.tar.bz2 |
bpo-36030: Add _PyTuple_FromArray() function (GH-11954)
Diffstat (limited to 'Include/internal/pycore_tupleobject.h')
-rw-r--r-- | Include/internal/pycore_tupleobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_tupleobject.h b/Include/internal/pycore_tupleobject.h index fdd7414..d0c5b62 100644 --- a/Include/internal/pycore_tupleobject.h +++ b/Include/internal/pycore_tupleobject.h @@ -11,6 +11,7 @@ extern "C" { #include "tupleobject.h" #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item) +PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t); #ifdef __cplusplus } |