Third-party stubs: import from collections.abc where possible (#7637)

This commit is contained in:
Alex Waygood
2022-04-16 14:52:57 +01:00
committed by GitHub
parent ee09d9eb19
commit 653f2c6ba4
146 changed files with 268 additions and 156 deletions
+2 -1
View File
@@ -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
+2 -1
View File
@@ -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