From: Erlend Egeberg Aasland Date: Tue, 25 May 2021 13:58:14 +0000 (+0200) Subject: bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352) X-Git-Tag: v3.11.0a1~1037 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b940eb410e2755538a36d87fe4aa8d8783183d6;p=thirdparty%2FPython%2Fcpython.git bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352) --- diff --git a/Include/internal/pycore_tuple.h b/Include/internal/pycore_tuple.h index 5353e18d0832..d1d0d2a92e49 100644 --- a/Include/internal/pycore_tuple.h +++ b/Include/internal/pycore_tuple.h @@ -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 }