Skip to content

Commit 7f08cb2

Browse files
authored
Merge pull request #594 from adanaja/fix-typo
Fix typo in docstring of download_file
2 parents f476138 + 9baed7d commit 7f08cb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/e3/net/http.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ def download_file(
245245
246246
:param url: the url to GET
247247
:param dest: local directory path for the downloaded file
248-
:param filename: the local path whether to store this resource, by
249-
default use the name provided in the ``Content-Disposition``
248+
:param filename: the local path where to store this resource, by
249+
default uses the name provided in the ``Content-Disposition``
250250
header.
251251
:param validate: function to call once the download is complete for
252252
detecting invalid / corrupted download. Takes the local path as
253253
parameter and returns a boolean.
254-
:param exception_on_error: if True raise an exception in case download
254+
:param exception_on_error: if True raises an exception in case download
255255
fails instead of returning None.
256256
:return: the name of the file or None if there is an error
257257
"""

0 commit comments

Comments
 (0)