From c4857bc7dbb150b28163cad6418cf0f52d6d19e7 Mon Sep 17 00:00:00 2001 From: ines Date: Fri, 12 May 2017 15:37:54 +0200 Subject: [PATCH] Remove unused argument --- spacy/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/util.py b/spacy/util.py index 20f2d3b26..fe2d18f57 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -31,7 +31,7 @@ def get_lang_class(name): return LANGUAGES[lang] -def load_lang_class(lang, depth='.'): +def load_lang_class(lang): module = importlib.import_module('.lang.%s' % lang, 'spacy') return getattr(module, module.__all__[0])