fix type definition

This commit is contained in:
Kevin Humphreys 2022-11-28 17:45:16 -08:00
parent 2243803b34
commit 561adacb6e

View File

@ -6,7 +6,7 @@ from ..tokens import Doc, Span
class Matcher: class Matcher:
def __init__(self, vocab: Vocab, validate: bool = ..., def __init__(self, vocab: Vocab, validate: bool = ...,
fuzzy_compare: Optional[Callable[[str, str, int]], bool] = ...) -> None: ... fuzzy_compare: Optional[Callable[[str, str, int], bool]] = ...) -> None: ...
def __reduce__(self) -> Any: ... def __reduce__(self) -> Any: ...
def __len__(self) -> int: ... def __len__(self) -> int: ...
def __contains__(self, key: str) -> bool: ... def __contains__(self, key: str) -> bool: ...