mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-27 08:29:51 +03:00
Update spacy/__init__.py
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
This commit is contained in:
parent
27d7a21a18
commit
23fd432f3f
|
@ -19,7 +19,8 @@ try:
|
|||
# which is also done here, requires a workaround on this platform.
|
||||
from .cli.info import info # noqa: F401
|
||||
except ImportError:
|
||||
info = lambda *args: "Importing the CLI failed. Info function not available."
|
||||
def info(*args, **kwargs):
|
||||
raise RuntimeError("Importing the CLI failed. Info function not available.")
|
||||
from .errors import Errors
|
||||
from .glossary import explain # noqa: F401
|
||||
from .language import Language
|
||||
|
|
Loading…
Reference in New Issue
Block a user