mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 12:01:52 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import sys
|
||||
from _typeshed import StrOrBytesPath
|
||||
from builtins import open as _builtin_open
|
||||
from collections.abc import Callable, Generator, Iterable, Sequence
|
||||
from token import *
|
||||
from typing import Any, Callable, Generator, Iterable, NamedTuple, Pattern, Sequence, TextIO
|
||||
from typing import Any, NamedTuple, Pattern, TextIO
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
|
||||
Reference in New Issue
Block a user