[stdlib][3] Add missing typing.OrderedDict generic stub for Python 3.7.2 (#3153)

This commit is contained in:
Kamil Bar
2019-07-26 20:46:15 +02:00
committed by Sebastian Rittau
parent c8e7d98c1f
commit 4697adcb1a

View File

@@ -56,6 +56,9 @@ Counter = TypeAlias(object)
Deque = TypeAlias(object)
ChainMap = TypeAlias(object)
if sys.version_info >= (3, 7):
OrderedDict = TypeAlias(object)
# Predefined type variables.
AnyStr = TypeVar('AnyStr', str, bytes)