mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Add threading._profile_hook (#7427)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
1 parent
39c8202eaf
commit
342e384fb1
1 file changed
+2
@@ -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