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

View File

@@ -1,4 +1,4 @@
from typing import Iterable
from collections.abc import Iterable
def smart_truncate(
string: str, max_length: int = ..., word_boundary: bool = ..., separator: str = ..., save_order: bool = ...

View File

@@ -1,4 +1,4 @@
from typing import Sequence
from collections.abc import Sequence
def add_uppercase_char(char_list: Sequence[tuple[str, str]]) -> Sequence[tuple[str, str]]: ...