From 1b940eb410e2755538a36d87fe4aa8d8783183d6 Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Tue, 25 May 2021 15:58:14 +0200 Subject: [PATCH] bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352) --- Include/internal/pycore_tuple.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/internal/pycore_tuple.h b/Include/internal/pycore_tuple.h index 5353e18d083..d1d0d2a92e4 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 }