mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
Add collections.abc.Collection (#1177)
This commit is contained in:
committed by
Jelle Zijlstra
parent
244f89d8cd
commit
6582a8fb59
@@ -38,7 +38,10 @@ from typing import (
|
||||
AbstractSet as Set,
|
||||
)
|
||||
if sys.version_info >= (3, 6):
|
||||
from typing import AsyncGenerator as AsyncGenerator
|
||||
from typing import (
|
||||
Collection as Collection,
|
||||
AsyncGenerator as AsyncGenerator,
|
||||
)
|
||||
|
||||
_T = TypeVar('_T')
|
||||
_KT = TypeVar('_KT')
|
||||
|
||||
@@ -34,6 +34,7 @@ if sys.version_info >= (3, 5):
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
from . import (
|
||||
Collection as Collection,
|
||||
Reversible as Reversible,
|
||||
AsyncGenerator as AsyncGenerator,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user