mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
add Counter, Deque, ChainMap (#928)
This commit is contained in:
committed by
Guido van Rossum
parent
e80b25d1be
commit
a778704b30
@@ -30,6 +30,8 @@ List = TypeAlias(object)
|
||||
Dict = TypeAlias(object)
|
||||
DefaultDict = TypeAlias(object)
|
||||
Set = TypeAlias(object)
|
||||
Counter = TypeAlias(object)
|
||||
Deque = TypeAlias(object)
|
||||
|
||||
# Predefined type variables.
|
||||
AnyStr = TypeVar('AnyStr', str, unicode)
|
||||
|
||||
@@ -32,6 +32,10 @@ List = TypeAlias(object)
|
||||
Dict = TypeAlias(object)
|
||||
DefaultDict = TypeAlias(object)
|
||||
Set = TypeAlias(object)
|
||||
Counter = TypeAlias(object)
|
||||
Deque = TypeAlias(object)
|
||||
if sys.version_info >= (3, 3):
|
||||
ChainMap = TypeAlias(object)
|
||||
|
||||
# Predefined type variables.
|
||||
AnyStr = TypeVar('AnyStr', str, bytes)
|
||||
|
||||
Reference in New Issue
Block a user