mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
pep 484: explicit reexport as intended (#4586)
See discussion on typing-sig. This doesn't take care of some third_party libraries, will follow up on those. Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -155,7 +155,11 @@ class Event:
|
||||
def wait(self, timeout: Optional[float] = ...) -> bool: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
from _thread import ExceptHookArgs as _ExceptHookArgs, _ExceptHookArgs as ExceptHookArgs # don't ask
|
||||
import _thread
|
||||
|
||||
# don't ask...
|
||||
_ExceptHookArgs = _thread.ExceptHookArgs
|
||||
ExceptHookArgs = _thread._ExceptHookArgs
|
||||
|
||||
excepthook: Callable[[_ExceptHookArgs], Any]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user