mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
gh-117929: Restore removed PyEval_InitThreads() function (#117931)
This commit is contained in:
parent
6d0bb43232
commit
75eed5b373
7 changed files with 38 additions and 7 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue