Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrochukM committed May 6, 2018
1 parent ff1736b commit 875f61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchnlp/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 875f61e

Please sign in to comment.