From 561adacb6ebc5adbf24c2500fadea4501d2b21b8 Mon Sep 17 00:00:00 2001 From: Kevin Humphreys Date: Mon, 28 Nov 2022 17:45:16 -0800 Subject: [PATCH] fix type definition --- spacy/matcher/matcher.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ...