mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
[stdlib][3] Add missing typing.OrderedDict generic stub for Python 3.7.2 (#3153)
This commit is contained in:
committed by
Sebastian Rittau
parent
c8e7d98c1f
commit
4697adcb1a
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user