Explorar el Código

remove blank line when loading model from python

Summary: This commit fixes the issue reported on https://github.com/facebookresearch/fastText/issues/909

Reviewed By: EdouardGrave

Differential Revision: D17630124

fbshipit-source-id: 9a9120b485711647266b547c6910633f83b3155f
Onur Çelebi hace 6 años
padre
commit
9f997a1c7c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      python/fasttext_module/fasttext/FastText.py

+ 1 - 1
python/fasttext_module/fasttext/FastText.py

@@ -22,7 +22,7 @@ BOW = "<"
 EOW = ">"
 
 
-def eprint(cls, *args, **kwargs):
+def eprint(*args, **kwargs):
     print(*args, file=sys.stderr, **kwargs)