mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 17:47:29 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
1 parent
a17b3afb16
commit
97a74bc1aa
230 files changed
+449
-348
No files matched your search
@@ -1,5 +1,5 @@
|
||||
from _typeshed.xml import DOMImplementation
|
||||
from typing import Callable, Iterable
|
||||
from collections.abc import Callable, Iterable
|
||||
|
||||
well_known_implementations: dict[str, str]
|
||||
registered: dict[str, Callable[[], DOMImplementation]]
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Iterable, TypeVar
|
||||
from collections.abc import Iterable
|
||||
from typing import Any, TypeVar
|
||||
|
||||
__all__ = ["NodeList", "EmptyNodeList", "StringTypes", "defproperty"]
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import sys
|
||||
from _typeshed import SupportsRead
|
||||
from typing import Any, Sequence
|
||||
from collections.abc import Sequence
|
||||
from typing import Any
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from xml.dom.minidom import Document, DOMImplementation, Element, Text
|
||||
from xml.sax.handler import ContentHandler
|
||||
|
||||
Reference in new issue
Block a user