diff --git a/stdlib/2.7/typing.pyi b/stdlib/2.7/typing.pyi index 403bc43fd..763f0c482 100644 --- a/stdlib/2.7/typing.pyi +++ b/stdlib/2.7/typing.pyi @@ -1,7 +1,6 @@ # Stubs for typing (Python 2.7) from abc import abstractmethod, ABCMeta -import collections # Definitions of special type checking related constructs. Their definition # are not used, so their value does not matter. @@ -28,7 +27,7 @@ Union = TypeAlias(object) Optional = TypeAlias(object) List = TypeAlias(object) Dict = TypeAlias(object) -DefaultDict = collections.defaultdict +DefaultDict = TypeAlias(object) Set = TypeAlias(object) # Predefined type variables. diff --git a/stdlib/3/typing.pyi b/stdlib/3/typing.pyi index 5435295c3..0430e2284 100644 --- a/stdlib/3/typing.pyi +++ b/stdlib/3/typing.pyi @@ -1,7 +1,6 @@ # Stubs for typing from abc import abstractmethod, ABCMeta -import collections # Definitions of special type checking related constructs. Their definition # are not used, so their value does not matter. @@ -29,7 +28,7 @@ Union = TypeAlias(object) Optional = TypeAlias(object) List = TypeAlias(object) Dict = TypeAlias(object) -DefaultDict = collections.defaultdict +DefaultDict = TypeAlias(object) Set = TypeAlias(object) # Predefined type variables.