Make SyntaxError.offset be optional (again) (#2782)

This was originally done in #2557, but got lost in #2533.
This commit is contained in:
Michael J. Sullivan
2019-02-08 11:09:18 -08:00
committed by GitHub
parent ed4323df30
commit d8faf503ec
2 changed files with 2 additions and 2 deletions

View File

@@ -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): ...