diff --git a/spacy/matcher/matcher.pyi b/spacy/matcher/matcher.pyi index dc4048725..9d1aba00c 100644 --- a/spacy/matcher/matcher.pyi +++ b/spacy/matcher/matcher.pyi @@ -6,7 +6,7 @@ from ..tokens import Doc, Span class Matcher: 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 __len__(self) -> int: ... def __contains__(self, key: str) -> bool: ...