Skip to content

Commit

Permalink
Add stub for sys._is_gil_enabled() (python#13358)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroIntensity authored Jan 2, 2025
1 parent 0cebf26 commit 1244636
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stdlib/sys/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

Expand Down

0 comments on commit 1244636

Please sign in to comment.