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 authored and GitHub committed 2019-02-08 11:09:18 -08:00
1 parent ed4323df30
commit d8faf503ec
2 files changed
+2 -2

No files matched your search

+1 -1
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): ...