diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index db985272dc61..353585e7db09 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -1033,7 +1033,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 db985272dc61..353585e7db09 100644 --- a/stdlib/2/builtins.pyi +++ b/stdlib/2/builtins.pyi @@ -1033,7 +1033,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 8b8b34892dbc..695e50bdccaa 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -1026,7 +1026,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): ...