mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
Add defaults to third-party stubs U-Z (#9971)
This commit is contained in:
@@ -15,4 +15,4 @@ class _Result(_TimeEstimate, TypedDict):
|
||||
calc_time: datetime.timedelta
|
||||
feedback: _Feedback
|
||||
|
||||
def zxcvbn(password: str, user_inputs: Iterable[object] | None = ...) -> _Result: ...
|
||||
def zxcvbn(password: str, user_inputs: Iterable[object] | None = None) -> _Result: ...
|
||||
|
||||
@@ -22,7 +22,9 @@ class _GuessesResult(TypedDict):
|
||||
sequence: list[_Match]
|
||||
|
||||
def nCk(n: int, k: int) -> float: ...
|
||||
def most_guessable_match_sequence(password: str, matches: Iterable[_Match], _exclude_additive: bool = ...) -> _GuessesResult: ...
|
||||
def most_guessable_match_sequence(
|
||||
password: str, matches: Iterable[_Match], _exclude_additive: bool = False
|
||||
) -> _GuessesResult: ...
|
||||
def estimate_guesses(match: _Match, password: str) -> Decimal: ...
|
||||
def bruteforce_guesses(match: _Match) -> int: ...
|
||||
def dictionary_guesses(match: _Match) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user