Skip to content

Commit

Permalink
fetcher: docstring fix
Browse files Browse the repository at this point in the history
Make the dosctring match the similar argument in download_bytes()

Signed-off-by: Jussi Kukkonen <[email protected]>
  • Loading branch information
Jussi Kukkonen committed Feb 1, 2022
1 parent d3606b6 commit 163b752
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tuf/ngclient/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ def download_file(self, url: str, max_length: int) -> Iterator[IO]:
Args:
url: a URL string that represents the location of the file.
max_length: an integer value representing the length of
the file or an upper bound.
max_length: upper bound of file size in bytes.
Raises:
exceptions.DownloadError: An error occurred during download.
Expand Down

0 comments on commit 163b752

Please sign in to comment.