[Python-checkins] bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352)
vstinner
webhook-mailer at python.org
Tue May 25 09:58:24 EDT 2021
https://github.com/python/cpython/commit/1b940eb410e2755538a36d87fe4aa8d8783183d6
commit: 1b940eb410e2755538a36d87fe4aa8d8783183d6
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at innova.no>
committer: vstinner <vstinner at python.org>
date: 2021-05-25T15:58:14+02:00
summary:
bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352)
files:
M Include/internal/pycore_tuple.h
diff --git a/Include/internal/pycore_tuple.h b/Include/internal/pycore_tuple.h
index 5353e18d08327..d1d0d2a92e49f 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
}
More information about the Python-checkins
mailing list