mirror of
https://github.com/python/cpython.git
synced 2025-08-29 21:25:01 +00:00
bpo-35341: Add generic version of OrderedDict to typing (GH-10850)
This commit is contained in:
parent
32bc11c33c
commit
68b56d02ef
4 changed files with 24 additions and 0 deletions
|
@ -1241,6 +1241,7 @@ ContextManager = _alias(contextlib.AbstractContextManager, T_co)
|
|||
AsyncContextManager = _alias(contextlib.AbstractAsyncContextManager, T_co)
|
||||
Dict = _alias(dict, (KT, VT), inst=False)
|
||||
DefaultDict = _alias(collections.defaultdict, (KT, VT))
|
||||
OrderedDict = _alias(collections.OrderedDict, (KT, VT))
|
||||
Counter = _alias(collections.Counter, T)
|
||||
ChainMap = _alias(collections.ChainMap, (KT, VT))
|
||||
Generator = _alias(collections.abc.Generator, (T_co, T_contra, V_co))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue