mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-16 21:45:04 +08:00
Third-party stubs: import from collections.abc where possible (#7637)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Iterable, TypeVar
|
||||
from collections.abc import Iterable
|
||||
from typing import Any, TypeVar
|
||||
from xml.etree.ElementTree import Element, ElementTree
|
||||
|
||||
from . import Markdown
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from _typeshed import Self
|
||||
from typing import Any, BinaryIO, Callable, ClassVar, Mapping, Sequence, Text, TextIO
|
||||
from collections.abc import Callable, Mapping, Sequence
|
||||
from typing import Any, BinaryIO, ClassVar, Text, TextIO
|
||||
from typing_extensions import Literal
|
||||
from xml.etree.ElementTree import Element
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Mapping
|
||||
from collections.abc import Mapping
|
||||
from typing import Any
|
||||
|
||||
from markdown.core import Markdown
|
||||
|
||||
|
||||
Reference in New Issue
Block a user