mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Make SyntaxError.offset be optional (again) (#2782)
This was originally done in #2557, but got lost in #2533.
This commit is contained in:
committed by
GitHub
parent
ed4323df30
commit
d8faf503ec
@@ -1494,7 +1494,7 @@ if sys.version_info >= (3, 5):
|
||||
class SyntaxError(_StandardError):
|
||||
msg: str
|
||||
lineno: int
|
||||
offset: int
|
||||
offset: Optional[int]
|
||||
text: str
|
||||
filename: str
|
||||
class SystemError(_StandardError): ...
|
||||
|
||||
Reference in New Issue
Block a user