Use type annotation syntax (#3048)

This commit is contained in:
Ivan Levkivskyi
2019-06-11 04:20:59 +01:00
committed by Jelle Zijlstra
parent 901cb33a3c
commit 5327484176

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]