mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Third-party stubs: import from collections.abc where possible (#7637)
This commit is contained in:
1 parent
ee09d9eb19
commit
653f2c6ba4
146 files changed
+268
-156
No files matched your search
@@ -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