mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 20:30:24 +03:00
Fix type for fuzzy_compare to remove Optional
This commit is contained in:
parent
8ee6551348
commit
0d60744996
|
@ -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: Callable[[str, str, int], bool] = ...) -> None: ...
|
||||
def __reduce__(self) -> Any: ...
|
||||
def __len__(self) -> int: ...
|
||||
def __contains__(self, key: str) -> bool: ...
|
||||
|
|
Loading…
Reference in New Issue
Block a user