mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-01 21:50:21 +08:00
pep 484: explicit reexport as intended (#4586)
See discussion on typing-sig. This doesn't take care of some third_party libraries, will follow up on those. Co-authored-by: hauntsaninja <>
This commit is contained in:
co-authored by
hauntsaninja <>
parent
27dfbf68aa
commit
e3889c776e
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
import typing
|
||||
from typing import (
|
||||
AbstractSet as Set,
|
||||
AbstractSet,
|
||||
Any,
|
||||
AsyncIterable as AsyncIterable,
|
||||
AsyncIterator as AsyncIterator,
|
||||
@@ -36,6 +36,8 @@ from typing import (
|
||||
overload,
|
||||
)
|
||||
|
||||
Set = AbstractSet
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
from typing import AsyncGenerator as AsyncGenerator, Collection as Collection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user