diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 195d4b180..fc680ca78 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -920,6 +920,7 @@ class SyntaxError(StandardError): lineno = ... # type: int offset = ... # type: int text = ... # type: str + filename = ... # type: str class IndentationError(SyntaxError): ... class TabError(IndentationError): ... class SystemError(StandardError): ... diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index d3254c8d4..490c7f31a 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -956,6 +956,7 @@ class SyntaxError(Exception): lineno = ... # type: int offset = ... # type: int text = ... # type: str + filename = ... # type: str class IndentationError(SyntaxError): ... class TabError(IndentationError): ... class SystemError(Exception): ...