Import from collections.abc wherever possible (#7635)

This commit is contained in:
Alex Waygood
2022-04-18 11:50:37 +01:00
committed by GitHub
parent a17b3afb16
commit 97a74bc1aa
230 changed files with 449 additions and 348 deletions

View File

@@ -1,5 +1,6 @@
import sys
from _typeshed import StrPath
from collections.abc import Callable, Iterable, Mapping
__all__ = [
"getlocale",
@@ -32,7 +33,7 @@ __all__ = [
# as a type annotation or type alias.
from builtins import str as _str
from decimal import Decimal
from typing import Any, Callable, Iterable, Mapping
from typing import Any
CODESET: int
D_T_FMT: int