mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-22 11:02:07 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import sys
|
||||
from typing import Any, AnyStr, Callable, Generic, Iterable, Iterator, NamedTuple, Sequence, TypeVar, overload
|
||||
from collections.abc import Callable, Iterable, Iterator, Sequence
|
||||
from typing import Any, AnyStr, Generic, NamedTuple, TypeVar, overload
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
from types import GenericAlias
|
||||
|
||||
Reference in New Issue
Block a user