Update _thread.pyi for Python3.12 (#10285)

This commit is contained in:
Nikita Sobolev
2023-06-08 16:23:57 +03:00
committed by GitHub
parent 36efbf89ed
commit 852ac3efb3
2 changed files with 3 additions and 1 deletions

View File

@@ -43,3 +43,6 @@ if sys.version_info >= (3, 8):
@property
def thread(self) -> Thread | None: ...
_excepthook: Callable[[_ExceptHookArgs], Any]
if sys.version_info >= (3, 12):
def daemon_threads_allowed() -> bool: ...