diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 0a39dae9f..453cc040a 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -11,7 +11,7 @@ from typing import ( ) from abc import abstractmethod, ABCMeta from ast import mod, AST -from types import TracebackType, CodeType, ModuleType +from types import TracebackType, CodeType import sys if sys.version_info >= (3,): @@ -1455,7 +1455,7 @@ else: def __import__(name: Text, globals: Optional[Mapping[str, Any]] = ..., locals: Optional[Mapping[str, Any]] = ..., fromlist: Sequence[str] = ..., - level: int = ...) -> ModuleType: ... + level: int = ...) -> Any: ... # Actually the type of Ellipsis is , but since it's # not exposed anywhere under that name, we make it private here. diff --git a/stdlib/2and3/builtins.pyi b/stdlib/2and3/builtins.pyi index 0a39dae9f..453cc040a 100644 --- a/stdlib/2and3/builtins.pyi +++ b/stdlib/2and3/builtins.pyi @@ -11,7 +11,7 @@ from typing import ( ) from abc import abstractmethod, ABCMeta from ast import mod, AST -from types import TracebackType, CodeType, ModuleType +from types import TracebackType, CodeType import sys if sys.version_info >= (3,): @@ -1455,7 +1455,7 @@ else: def __import__(name: Text, globals: Optional[Mapping[str, Any]] = ..., locals: Optional[Mapping[str, Any]] = ..., fromlist: Sequence[str] = ..., - level: int = ...) -> ModuleType: ... + level: int = ...) -> Any: ... # Actually the type of Ellipsis is , but since it's # not exposed anywhere under that name, we make it private here.