Add collections.abc.Collection (#1177)

This commit is contained in:
Sam Dunster
2017-04-18 21:08:06 -07:00
committed by Jelle Zijlstra
parent 244f89d8cd
commit 6582a8fb59
2 changed files with 5 additions and 1 deletions

View File

@@ -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')

View File

@@ -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,
)