Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4697adc

Browse files
NeveHantersrittau
authored andcommitted
[stdlib][3] Add missing typing.OrderedDict generic stub for Python 3.7.2 (#3153)
1 parent c8e7d98 commit 4697adc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

stdlib/3/typing.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ Counter = TypeAlias(object)
5656
Deque = TypeAlias(object)
5757
ChainMap = TypeAlias(object)
5858

59+
if sys.version_info >= (3, 7):
60+
OrderedDict = TypeAlias(object)
61+
5962
# Predefined type variables.
6063
AnyStr = TypeVar('AnyStr', str, bytes)
6164

0 commit comments

Comments
 (0)