summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-05-25 13:58:14 (GMT)
committerGitHub <noreply@github.com>2021-05-25 13:58:14 (GMT)
commit1b940eb410e2755538a36d87fe4aa8d8783183d6 (patch)
tree6c92004b84cbba0e60e9a7b1cfa0b0edc162fd50
parent29669245d4ad760f43853a7a0434143090135331 (diff)
downloadcpython-1b940eb410e2755538a36d87fe4aa8d8783183d6.zip
cpython-1b940eb410e2755538a36d87fe4aa8d8783183d6.tar.gz
cpython-1b940eb410e2755538a36d87fe4aa8d8783183d6.tar.bz2
bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352)
-rw-r--r--Include/internal/pycore_tuple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_tuple.h b/Include/internal/pycore_tuple.h
index 5353e18..d1d0d2a 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
}