mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
Add OrderedDict to typing_extensions (#5345)
This commit is contained in:
1 parent
7619a8fb46
commit
5f252e54a0
1 file changed
+3
@@ -22,6 +22,7 @@ from typing import (
|
||||
TypeVar,
|
||||
Union,
|
||||
ValuesView,
|
||||
_Alias,
|
||||
overload as overload,
|
||||
)
|
||||
|
||||
@@ -68,6 +69,8 @@ class _TypedDict(Mapping[str, object], metaclass=abc.ABCMeta):
|
||||
# TypedDict is a (non-subscriptable) special form.
|
||||
TypedDict: object = ...
|
||||
|
||||
OrderedDict = _Alias()
|
||||
|
||||
if sys.version_info >= (3, 3):
|
||||
from typing import ChainMap as ChainMap
|
||||
|
||||
|
||||
Reference in new issue
Block a user