Skip to content

Commit 3bb565b

Browse files
HemangChothanicrwilcox
authored andcommitted
fix(storage): fix document of delete blob (#10015)
1 parent 5ad6287 commit 3bb565b

File tree

1 file changed

+1
-5
lines changed
  • storage/google/cloud/storage

1 file changed

+1
-5
lines changed

storage/google/cloud/storage/blob.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -546,15 +546,11 @@ def delete(self, client=None):
546546
:param client: Optional. The client to use. If not passed, falls back
547547
to the ``client`` stored on the blob's bucket.
548548
549-
:rtype: :class:`Blob`
550-
:returns: The blob that was just deleted.
551549
:raises: :class:`google.cloud.exceptions.NotFound`
552550
(propagated from
553551
:meth:`google.cloud.storage.bucket.Bucket.delete_blob`).
554552
"""
555-
return self.bucket.delete_blob(
556-
self.name, client=client, generation=self.generation
557-
)
553+
self.bucket.delete_blob(self.name, client=client, generation=self.generation)
558554

559555
def _get_transport(self, client):
560556
"""Return the client's transport.

0 commit comments

Comments
 (0)