diff --git a/spacy/util.py b/spacy/util.py index 31ef2df02..7f1ed6169 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -146,7 +146,7 @@ class registry(thinc.registry): @classmethod def find( cls, registry_name: str, func_name: str - ) -> Dict[str, Optional[Union[str, int]]]: # type: ignore + ) -> Dict[str, Optional[Union[str, int]]]: # type: ignore """Find the information about a registered function, including the module and path to the file it's defined in, the line number and the docstring, if available.