Skip to content

Commit b0487a6

Browse files
committed
also add AsyncGenerator to collections and collections.abc
1 parent 79ffec0 commit b0487a6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

stdlib/3/collections/__init__.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ from typing import (
3535
MutableSet as MutableSet,
3636
AbstractSet as Set,
3737
)
38+
if sys.version_info >= (3, 6):
39+
from typing import AsyncGenerator as AsyncGenerator
3840

3941
_T = TypeVar('_T')
4042
_KT = TypeVar('_KT')

stdlib/3/collections/abc.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ if sys.version_info >= (3, 5):
3535
if sys.version_info >= (3, 6):
3636
from . import (
3737
Reversible as Reversible,
38+
AsyncGenerator as AsyncGenerator,
3839
)

0 commit comments

Comments
 (0)