diff --git a/storage/google/cloud/storage/blob.py b/storage/google/cloud/storage/blob.py index 4d9bed1c8488..4649afb6b1fe 100644 --- a/storage/google/cloud/storage/blob.py +++ b/storage/google/cloud/storage/blob.py @@ -544,15 +544,11 @@ def delete(self, client=None): :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the blob's bucket. - :rtype: :class:`Blob` - :returns: The blob that was just deleted. :raises: :class:`google.cloud.exceptions.NotFound` (propagated from :meth:`google.cloud.storage.bucket.Bucket.delete_blob`). """ - return self.bucket.delete_blob( - self.name, client=client, generation=self.generation - ) + self.bucket.delete_blob(self.name, client=client, generation=self.generation) def _get_transport(self, client): """Return the client's transport.