mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 08:23:47 +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:
1 parent
ed4323df30
commit
d8faf503ec
2 files changed
+2
-2
No files matched your search
@@ -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