mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Specify attribute types of SyntaxError
This commit is contained in:
@@ -775,7 +775,11 @@ class WindowsError(OSError): ...
|
||||
class OverflowError(ArithmeticError): ...
|
||||
class ReferenceError(Exception): ...
|
||||
class StopIteration(Exception): ...
|
||||
class SyntaxError(Exception): ...
|
||||
class SyntaxError(Exception):
|
||||
msg = ... # type: str
|
||||
lineno = ... # type: int
|
||||
offset = ... # type: int
|
||||
text = ... # type: str
|
||||
class IndentationError(SyntaxError): ...
|
||||
class TabError(IndentationError): ...
|
||||
class SystemError(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user