summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-04-17 13:01:28 (GMT)
committerGitHub <noreply@github.com>2024-04-17 13:01:28 (GMT)
commit75eed5b3734edb221cabb8322d8b8bdf9e3ee6b1 (patch)
tree3643d638122610332a88ff62c02dcb968b5d6508 /Python
parent6d0bb43232dd6ebc5245daa4fe29f07f815f0bad (diff)
downloadcpython-75eed5b3734edb221cabb8322d8b8bdf9e3ee6b1.zip
cpython-75eed5b3734edb221cabb8322d8b8bdf9e3ee6b1.tar.gz
cpython-75eed5b3734edb221cabb8322d8b8bdf9e3ee6b1.tar.bz2
gh-117929: Restore removed PyEval_InitThreads() function (#117931)
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval_gil.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/ceval_gil.c b/Python/ceval_gil.c
index d88ac65..c0819d8 100644
--- a/Python/ceval_gil.c
+++ b/Python/ceval_gil.c
@@ -512,8 +512,7 @@ _PyEval_FiniGIL(PyInterpreterState *interp)
interp->ceval.gil = NULL;
}
-// Function removed in the Python 3.13 API but kept in the stable ABI.
-PyAPI_FUNC(void)
+void
PyEval_InitThreads(void)
{
/* Do nothing: kept for backward compatibility */