Add stub for sys._is_gil_enabled() (#13358)

This commit is contained in:
Peter Bierma
2025-01-02 15:28:32 -05:00
committed by GitHub
parent 0cebf26ecd
commit 1244636a01

View File

@@ -393,6 +393,10 @@ if sys.platform == "win32":
def getwindowsversion() -> _WinVersion: ...
def intern(string: str, /) -> str: ...
if sys.version_info >= (3, 13):
def _is_gil_enabled() -> bool: ...
def is_finalizing() -> bool: ...
def breakpointhook(*args: Any, **kwargs: Any) -> Any: ...