Import from collections.abc wherever possible (#7635)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-04-18 12:50:37 +02:00
1 parent a17b3afb16
commit 97a74bc1aa
230 files changed
+449 -348

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
from _typeshed import SupportsRead
from typing import IO, Any, Callable
from collections.abc import Callable
from typing import IO, Any
from .decoder import JSONDecodeError as JSONDecodeError, JSONDecoder as JSONDecoder
from .encoder import JSONEncoder as JSONEncoder
+2 -1
View File
@@ -1,4 +1,5 @@
from typing import Any, Callable
from collections.abc import Callable
from typing import Any
__all__ = ["JSONDecoder", "JSONDecodeError"]
+2 -1
View File
@@ -1,4 +1,5 @@
from typing import Any, Callable, Iterator, Pattern
from collections.abc import Callable, Iterator
from typing import Any, Pattern
ESCAPE: Pattern[str]
ESCAPE_ASCII: Pattern[str]