From 07a0a11664b18124616d0a8b3b0d5aefff596f4c Mon Sep 17 00:00:00 2001 From: Preston Holmes Date: Mon, 29 Dec 2014 17:28:40 -0800 Subject: [PATCH] args swapped in docs --- gcloud/storage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcloud/storage/__init__.py b/gcloud/storage/__init__.py index c91b0bc1c9ab..8ab28e7edf31 100644 --- a/gcloud/storage/__init__.py +++ b/gcloud/storage/__init__.py @@ -22,7 +22,7 @@ >>> key = bucket.get_key('/remote/path/to/file.txt') >>> print key.get_contents_as_string() >>> key.set_contents_from_string('New contents!') ->>> bucket.upload_file('/remote/path/storage.txt', '/local/path.txt') +>>> bucket.upload_file('/local/path.txt', '/remote/path/storage.txt') The main concepts with this API are: