Update find description in spacy/util.py

Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
This commit is contained in:
Edward 2023-02-08 14:53:52 +01:00 committed by GitHub
parent f0ad4815cc
commit 3857825767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ class registry(thinc.registry):
def find( def find(
cls, registry_name: str, func_name: str cls, registry_name: str, func_name: str
) -> Dict[str, Optional[Union[str, int]]]: ) -> Dict[str, Optional[Union[str, int]]]:
"""Find the information about a registered function, including the """Find information about a registered function, including the
module and path to the file it's defined in, the line number and the module and path to the file it's defined in, the line number and the
docstring, if available. docstring, if available.