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,5 +1,6 @@
from _typeshed import Self, SupportsRead
from typing import Any, Sequence
from collections.abc import Sequence
from typing import Any
from .builder import TreeBuilder
from .element import (
+2 -2
View File
@@ -1,6 +1,6 @@
from _typeshed import Self
from collections.abc import Iterator
from typing import Any, Callable, Generic, Iterable, Pattern, TypeVar, overload
from collections.abc import Callable, Iterable, Iterator
from typing import Any, Generic, Pattern, TypeVar, overload
from typing_extensions import TypeAlias
from . import BeautifulSoup
+1 -1
View File
@@ -1,4 +1,4 @@
from typing import Callable
from collections.abc import Callable
from typing_extensions import TypeAlias
from .dammit import EntitySubstitution as EntitySubstitution