diff --git a/stdlib/2/types.pyi b/stdlib/2/types.pyi index 54e8b7899..12f38829c 100644 --- a/stdlib/2/types.pyi +++ b/stdlib/2/types.pyi @@ -3,7 +3,7 @@ from typing import ( Any, Callable, Dict, Iterable, Iterator, List, Optional, - Tuple, TypeVar, Union, overload, + Tuple, Type, TypeVar, Union, overload, ) _T = TypeVar('_T') @@ -19,11 +19,12 @@ BooleanType = bool ComplexType = complex StringType = str UnicodeType = unicode -StringTypes = (StringType, UnicodeType) +StringTypes = ... # type: Tuple[Type[StringType], Type[UnicodeType]] BufferType = buffer TupleType = tuple ListType = list -DictType = DictionaryType = dict +DictType = dict +DictionaryType = dict class _Cell: cell_contents = ... # type: Any