TracebackType is optional (#2202)

This commit is contained in:
Scott Belden authored and Jelle Zijlstra committed 2018-06-09 16:22:50 -07:00
1 parent 8d852c3785
commit 84cafafe73
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ from types import TracebackType
import sys
import threading
_SysExcInfoType = Union[Tuple[type, BaseException, TracebackType],
_SysExcInfoType = Union[Tuple[type, BaseException, Optional[TracebackType]],
Tuple[None, None, None]]
if sys.version_info >= (3, 5):
_ExcInfoType = Union[None, bool, _SysExcInfoType, BaseException]