mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-11 20:51:42 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -74,14 +74,14 @@ if sys.version_info >= (3, 5):
|
||||
class TracebackException:
|
||||
__cause__ = ... # type:TracebackException
|
||||
__context__ = ... # type:TracebackException
|
||||
__suppress_context__ = ... # type: bool
|
||||
stack = ... # type: StackSummary
|
||||
exc_type = ... # type: Type[BaseException]
|
||||
filename = ... # type: str
|
||||
lineno = ... # type: int
|
||||
text = ... # type: str
|
||||
offset = ... # type: int
|
||||
msg = ... # type: str
|
||||
__suppress_context__: bool
|
||||
stack: StackSummary
|
||||
exc_type: Type[BaseException]
|
||||
filename: str
|
||||
lineno: int
|
||||
text: str
|
||||
offset: int
|
||||
msg: str
|
||||
def __init__(self, exc_type: Type[BaseException],
|
||||
exc_value: BaseException, exc_traceback: TracebackType,
|
||||
*, limit: Optional[int] = ..., lookup_lines: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user