Removed duplicate type annotation. (#888)

This commit is contained in:
Mio 2020-04-14 00:15:48 +08:00 committed by GitHub
parent 14fe7dbb27
commit 5754e33a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,6 @@ class Downloader:
"""
:param resume: Should the download resume if partial download
already exists.
:type resume: bool
:param output_file: The file to store response body in. If not
provided, it will be guessed from the response.
@ -322,7 +321,6 @@ class Downloader:
:param chunk: A chunk of response body data that has just
been downloaded and written to the output.
:type chunk: bytes
"""
self.status.chunk_downloaded(len(chunk))