From 875f61ef8a7a7db99d8befdf326713f841dd1b56 Mon Sep 17 00:00:00 2001 From: deepblue129 Date: Sun, 6 May 2018 10:43:13 -0700 Subject: [PATCH] Update comments --- torchnlp/download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torchnlp/download.py b/torchnlp/download.py index 4bd8323..db6c9ae 100644 --- a/torchnlp/download.py +++ b/torchnlp/download.py @@ -121,7 +121,7 @@ def _get_filename_from_url(url): def download_file_maybe_extract(url, directory, filename=None, extension=None, check_files=[]): - """ Download the file at ``url`` to ``directory``. + """ Download the file at ``url`` to ``directory``. Extract to ``directory`` if tar or zip. Args: url (str): Url of file. @@ -181,7 +181,7 @@ def _check_download(*filepaths): def download_files_maybe_extract(urls, directory, check_files=[]): - """ Download the files at ``urls`` to ``directory``. + """ Download the files at ``urls`` to ``directory``. Extract to ``directory`` if tar or zip. Args: urls (str): Url of files.