Skip to content

Commit

Permalink
Documentation fix in download_blob_to_file (#8201)
Browse files Browse the repository at this point in the history
The file object name is incorrect in the method documentation.
  • Loading branch information
lambainsaan authored and busunkim96 committed May 31, 2019
1 parent 8d9d129 commit c53dfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/google/cloud/storage/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def download_blob_to_file(self, blob_or_uri, file_obj, start=None, end=None):
>>> blob = storage.Blob('path/to/blob', bucket)
>>> with open('file-to-download-to') as file_obj:
>>> client.download_blob_to_file(blob, file) # API request.
>>> client.download_blob_to_file(blob, file_obj) # API request.
Download a blob using a URI.
Expand Down

0 comments on commit c53dfd0

Please sign in to comment.