mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 00:24:24 +08:00
sys: refine the return type of sys.exc_info() (#3111)
This commit is contained in:
committed by
Sebastian Rittau
parent
b43e1d674f
commit
4ae4714e00
@@ -16,7 +16,7 @@ _T = TypeVar('_T')
|
||||
|
||||
# The following type alias are stub-only and do not exist during runtime
|
||||
_ExcInfo = Tuple[Type[BaseException], BaseException, TracebackType]
|
||||
_OptExcInfo = Tuple[Optional[Type[BaseException]], Optional[BaseException], Optional[TracebackType]]
|
||||
_OptExcInfo = Union[_ExcInfo, Tuple[None, None, None]]
|
||||
|
||||
# ----- sys variables -----
|
||||
abiflags: str
|
||||
|
||||
Reference in New Issue
Block a user