Use type annotation syntax (#3048)

This commit is contained in:
Ivan Levkivskyi authored and Jelle Zijlstra committed 2019-06-10 20:20:59 -07:00
1 parent 901cb33a3c
commit 5327484176
1 file changed
+2 -2
+2 -2
View File
@@ -72,8 +72,8 @@ if sys.version_info < (3,):
if sys.version_info >= (3, 5):
class TracebackException:
__cause__ = ... # type:TracebackException
__context__ = ... # type:TracebackException
__cause__: TracebackException
__context__: TracebackException
__suppress_context__: bool
stack: StackSummary
exc_type: Type[BaseException]