diff --git a/builtins/2.7/__builtin__.pyi b/builtins/2.7/__builtin__.pyi index e34aa90d6..3beaeeaf5 100644 --- a/builtins/2.7/__builtin__.pyi +++ b/builtins/2.7/__builtin__.pyi @@ -727,8 +727,8 @@ def locals() -> Dict[str, Any]: ... # Actually the type of Ellipsis is , but since it's # not exposed anywhere under that name, we make it private here. -class _ellipsis: ... -Ellipsis = ... # type: _ellipsis +class ellipsis: ... +Ellipsis = ... # type: ellipsis # TODO: buffer support is incomplete; e.g. some_string.startswith(some_buffer) doesn't type check. AnyBuffer = TypeVar('AnyBuffer', str, unicode, bytearray, buffer) diff --git a/builtins/3/builtins.pyi b/builtins/3/builtins.pyi index 58043f712..df5359568 100644 --- a/builtins/3/builtins.pyi +++ b/builtins/3/builtins.pyi @@ -714,8 +714,8 @@ def __import__(name: str, globals: Dict[str, Any] = {}, locals: Dict[str, Any] = # Actually the type of Ellipsis is , but since it's # not exposed anywhere under that name, we make it private here. -class _ellipsis: ... -Ellipsis = ... # type: _ellipsis +class ellipsis: ... +Ellipsis = ... # type: ellipsis # Exceptions