Skip to content

Commit 3f97d38

Browse files
guocisrittau
andauthored
Update stdlib/threading.pyi
Co-authored-by: Sebastian Rittau <[email protected]>
1 parent 94e926f commit 3f97d38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/threading.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ class Event:
169169
def clear(self) -> None: ...
170170
def wait(self, timeout: float | None = None) -> bool: ...
171171

172-
excepthook = _excepthook
172+
excepthook: Callable[[_ExceptHookArgs], object]
173173
if sys.version_info >= (3, 10):
174-
__excepthook__ = _excepthook
174+
__excepthook__: Callable[[_ExceptHookArgs], object]
175175
ExceptHookArgs = _ExceptHookArgs
176176

177177
class Timer(Thread):

0 commit comments

Comments
 (0)