mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import sys
|
||||
from _typeshed import StrOrBytesPath
|
||||
from collections.abc import Callable, Iterable, Sequence
|
||||
from os import PathLike
|
||||
from typing import Any, AnyStr, Callable, Generic, Iterable, Sequence
|
||||
from typing import Any, AnyStr, Generic
|
||||
from typing_extensions import Literal
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
|
||||
Reference in New Issue
Block a user