threading.ThreadError and threading.local are aliases from _thread (#11167)

This commit is contained in:
Stephen Morton
2023-12-18 05:13:08 -08:00
committed by GitHub
parent 9d8188c96d
commit fd3228a2e2
2 changed files with 8 additions and 6 deletions

View File

@@ -46,3 +46,8 @@ if sys.version_info >= (3, 8):
if sys.version_info >= (3, 12):
def daemon_threads_allowed() -> bool: ...
class _local:
def __getattribute__(self, __name: str) -> Any: ...
def __setattr__(self, __name: str, __value: Any) -> None: ...
def __delattr__(self, __name: str) -> None: ...