From 342e384fb15bf4f0b90e227f07b2013bdbde06f1 Mon Sep 17 00:00:00 2001 From: eggplants Date: Thu, 3 Mar 2022 06:47:02 +0900 Subject: [PATCH] Add `threading._profile_hook` (#7427) Co-authored-by: Alex Waygood --- stdlib/threading.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/threading.pyi b/stdlib/threading.pyi index f68c0d382..653069f35 100644 --- a/stdlib/threading.pyi +++ b/stdlib/threading.pyi @@ -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: ...