From 436ac4d65520add4b0658f922205b7c94dc21c70 Mon Sep 17 00:00:00 2001 From: David Raleigh Date: Tue, 17 May 2016 17:31:25 -0600 Subject: [PATCH] Update README.rst Returns ```None```: ```python blob = bucket.get_blob('/remote/path/to/file.txt') ``` Returns blob: ```python blob = bucket.get_blob('remote/path/to/file.txt') ``` --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 1dab778713e6..0cab79fee119 100644 --- a/README.rst +++ b/README.rst @@ -124,10 +124,10 @@ how to create a bucket. client = storage.Client() bucket = client.get_bucket('bucket-id-here') # Then do other things... - blob = bucket.get_blob('/remote/path/to/file.txt') + blob = bucket.get_blob('remote/path/to/file.txt') print blob.download_as_string() blob.upload_from_string('New contents!') - blob2 = bucket.blob('/remote/path/storage.txt') + blob2 = bucket.blob('remote/path/storage.txt') blob2.upload_from_filename(filename='/local/path.txt') Google Cloud Pub/Sub