From 16a63d96761f520bcc2ff6a39e798d52269d4c47 Mon Sep 17 00:00:00 2001 From: ines Date: Thu, 16 Mar 2017 17:09:11 +0100 Subject: [PATCH] Add docstring --- spacy/download.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/download.py b/spacy/download.py index f102072a9..b00f11d18 100644 --- a/spacy/download.py +++ b/spacy/download.py @@ -14,6 +14,8 @@ from . import util direct=("Force direct download", "flag", "d", bool) ) def download(model=None, direct=False): + """Download compatible model from default download path using pip.""" + check_error_depr(model) if direct: