Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion stdlib/2and3/_dummy_threading.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ class Event:
def wait(self, timeout: Optional[float] = ...) -> bool: ...

if sys.version_info >= (3, 8):
from _thread import _excepthook as excepthook, _ExceptHookArgs as ExceptHookArgs
from _thread import _excepthook, _ExceptHookArgs

excepthook = _excepthook
ExceptHookArgs = _ExceptHookArgs

class Timer(Thread):
if sys.version_info >= (3,):
Expand Down
5 changes: 4 additions & 1 deletion stdlib/2and3/threading.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ class Event:
def wait(self, timeout: Optional[float] = ...) -> bool: ...

if sys.version_info >= (3, 8):
from _thread import _excepthook as excepthook, _ExceptHookArgs as ExceptHookArgs
from _thread import _excepthook, _ExceptHookArgs

excepthook = _excepthook
ExceptHookArgs = _ExceptHookArgs

class Timer(Thread):
if sys.version_info >= (3,):
Expand Down