gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL (GH-118645)

This commit is contained in:
Petr Viktorin 2024-05-06 18:59:36 +02:00 • committed by GitHub
parent 3ed3bc379a
commit 417dd3aca7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 21 additions and 21 deletions

View file

@ -1,5 +1,5 @@
Extension modules may indicate to the runtime that they can run without the
GIL. Multi-phase init modules do so by calling providing
``Py_MOD_GIL_NOT_USED`` for the ``Py_mod_gil`` slot, while single-phase init
modules call ``PyModule_ExperimentalSetGIL(mod, Py_MOD_GIL_NOT_USED)`` from
modules call ``PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED)`` from
their init function.