Skip to content

Commit

Permalink
fix type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Nov 1, 2023
1 parent bbcdb3f commit 3fd31c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jarowinkler/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ _S2 = TypeVar("_S2")
def jaro_similarity(
s1: _S1, s2: _S2, *,
processor: Optional[Callable[[Union[_S1, _S2]], _StringType]] = None,
score_cutoff: Optional[float] = 0) -> float: ...
score_cutoff: Optional[float] = None) -> float: ...

def jarowinkler_similarity(
s1: _S1, s2: _S2, *,
prefix_weight: float = 0.1,
processor: Optional[Callable[[Union[_S1, _S2]], _StringType]] = None,
score_cutoff: Optional[float] = 0) -> float: ...
score_cutoff: Optional[float] = None) -> float: ...

0 comments on commit 3fd31c1

Please sign in to comment.