mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-23 21:37:03 +08:00
Add default values for third-party stubs beginning with 'P' (#9957)
This commit is contained in:
1 parent
20f9b3685d
commit
6fd7e36e80
248 files changed
+2181
-2133
No files matched your search
@@ -1,20 +1,20 @@
|
||||
from collections.abc import Iterable
|
||||
|
||||
def smart_truncate(
|
||||
string: str, max_length: int = ..., word_boundary: bool = ..., separator: str = ..., save_order: bool = ...
|
||||
string: str, max_length: int = 0, word_boundary: bool = False, separator: str = " ", save_order: bool = False
|
||||
) -> str: ...
|
||||
def slugify(
|
||||
text: str,
|
||||
entities: bool = ...,
|
||||
decimal: bool = ...,
|
||||
hexadecimal: bool = ...,
|
||||
max_length: int = ...,
|
||||
word_boundary: bool = ...,
|
||||
separator: str = ...,
|
||||
save_order: bool = ...,
|
||||
stopwords: Iterable[str] = ...,
|
||||
regex_pattern: str | None = ...,
|
||||
lowercase: bool = ...,
|
||||
replacements: Iterable[Iterable[str]] = ...,
|
||||
allow_unicode: bool = ...,
|
||||
entities: bool = True,
|
||||
decimal: bool = True,
|
||||
hexadecimal: bool = True,
|
||||
max_length: int = 0,
|
||||
word_boundary: bool = False,
|
||||
separator: str = "-",
|
||||
save_order: bool = False,
|
||||
stopwords: Iterable[str] = (),
|
||||
regex_pattern: str | None = None,
|
||||
lowercase: bool = True,
|
||||
replacements: Iterable[Iterable[str]] = (),
|
||||
allow_unicode: bool = False,
|
||||
) -> str: ...
|
||||
Reference in new issue
Block a user