Make SyntaxError.text be optional (#3119)

Closes #3118
This commit is contained in:
秋葉 authored and Sebastian Rittau committed 2019-07-15 09:11:45 +02:00
1 parent f76b7b273b
commit e2ec5d0525
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1523,7 +1523,7 @@ class SyntaxError(_StandardError):
msg: str
lineno: int
offset: Optional[int]
text: str
text: Optional[str]
filename: str
class SystemError(_StandardError): ...
class TypeError(_StandardError): ...