]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Tue, 25 May 2021 13:58:14 +0000 (15:58 +0200)
committerGitHub <noreply@github.com>
Tue, 25 May 2021 13:58:14 +0000 (15:58 +0200)
Include/internal/pycore_tuple.h

index 5353e18d08327d96ac0bbbfc4ebd7127f34ad434..d1d0d2a92e49fb97b58def5bd0a3f455a6e6a8c3 100644 (file)
@@ -12,7 +12,7 @@ extern "C" {
 
 #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item)
 
-PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t);
+extern PyObject *_PyTuple_FromArray(PyObject *const *, Py_ssize_t);
 
 #ifdef __cplusplus
 }