mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
Add default values for third-party stubs beginning with 'P' (#9957)
This commit is contained in:
@@ -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