mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add threading._profile_hook (#7427)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -89,6 +89,8 @@ else:
|
||||
"stack_size",
|
||||
]
|
||||
|
||||
_profile_hook: _PF | None
|
||||
|
||||
def active_count() -> int: ...
|
||||
def activeCount() -> int: ... # deprecated alias for active_count()
|
||||
def current_thread() -> Thread: ...
|
||||
|
||||
Reference in New Issue
Block a user