Skip to content

Commit a778704

Browse files
JelleZijlstragvanrossum
authored andcommitted
add Counter, Deque, ChainMap (#928)
1 parent e80b25d commit a778704

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

stdlib/2/typing.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ List = TypeAlias(object)
3030
Dict = TypeAlias(object)
3131
DefaultDict = TypeAlias(object)
3232
Set = TypeAlias(object)
33+
Counter = TypeAlias(object)
34+
Deque = TypeAlias(object)
3335

3436
# Predefined type variables.
3537
AnyStr = TypeVar('AnyStr', str, unicode)

stdlib/3/typing.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ List = TypeAlias(object)
3232
Dict = TypeAlias(object)
3333
DefaultDict = TypeAlias(object)
3434
Set = TypeAlias(object)
35+
Counter = TypeAlias(object)
36+
Deque = TypeAlias(object)
37+
if sys.version_info >= (3, 3):
38+
ChainMap = TypeAlias(object)
3539

3640
# Predefined type variables.
3741
AnyStr = TypeVar('AnyStr', str, bytes)

0 commit comments

Comments
 (0)