mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add OrderedDict to typing_extensions (#5345)
This commit is contained in:
@@ -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