mirror of https://github.com/explosion/spaCy.git
cleanup unused
This commit is contained in:
parent
846fa49b2a
commit
6d1a3af343
|
@ -14,7 +14,7 @@ from . import about
|
|||
from .attrs import TAG, HEAD, DEP, ENT_IOB, ENT_TYPE
|
||||
|
||||
|
||||
def get_package(via=None):
|
||||
def get_package():
|
||||
if not isinstance(via, six.string_types):
|
||||
raise RuntimeError('via must be a string')
|
||||
return DirPackage(via)
|
||||
|
|
Loading…
Reference in New Issue