diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index ba69027cac69..a29829838446 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -1030,7 +1030,7 @@ class ReferenceError(StandardError): ... class SyntaxError(StandardError): msg = ... # type: str lineno = ... # type: int - offset = ... # type: int + offset = ... # type: Optional[int] text = ... # type: str filename = ... # type: str class IndentationError(SyntaxError): ... diff --git a/stdlib/2/builtins.pyi b/stdlib/2/builtins.pyi index ba69027cac69..a29829838446 100644 --- a/stdlib/2/builtins.pyi +++ b/stdlib/2/builtins.pyi @@ -1030,7 +1030,7 @@ class ReferenceError(StandardError): ... class SyntaxError(StandardError): msg = ... # type: str lineno = ... # type: int - offset = ... # type: int + offset = ... # type: Optional[int] text = ... # type: str filename = ... # type: str class IndentationError(SyntaxError): ... diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 97f80a85a7c0..d3f56b4dbabb 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -1024,7 +1024,7 @@ if sys.version_info >= (3, 5): class SyntaxError(Exception): msg = ... # type: str lineno = ... # type: int - offset = ... # type: int + offset = ... # type: Optional[int] text = ... # type: str filename = ... # type: str class IndentationError(SyntaxError): ...