mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Third-party stubs: import from collections.abc where possible (#7637)
This commit is contained in:
@@ -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 = ...
|
||||
|
||||
@@ -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]]: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user