Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 55fc90a

Browse files
committed
docstrings
1 parent 876d1f6 commit 55fc90a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

google/cloud/storage/blob.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3428,7 +3428,7 @@ def open(
34283428
34293429
:type mode: str
34303430
:param mode:
3431-
A mode string, as per standard Python `open()` semantics. The first
3431+
(Optional) A mode string, as per standard Python `open()` semantics.The first
34323432
character must be 'r', to open the blob for reading, or 'w' to open
34333433
it for writing. The second character, if present, must be 't' for
34343434
(unicode) text mode, or 'b' for bytes mode. If the second character
@@ -3446,13 +3446,13 @@ def open(
34463446
34473447
:type encoding: str
34483448
:param encoding:
3449-
For text mode only, the name of the encoding that the stream will
3449+
(Optional) For text mode only, the name of the encoding that the stream will
34503450
be decoded or encoded with. If omitted, it defaults to
34513451
locale.getpreferredencoding(False).
34523452
34533453
:type errors: str
34543454
:param errors:
3455-
For text mode only, an optional string that specifies how encoding
3455+
(Optional) For text mode only, an optional string that specifies how encoding
34563456
and decoding errors are to be handled. Pass 'strict' to raise a
34573457
ValueError exception if there is an encoding error (the default of
34583458
None has the same effect), or pass 'ignore' to ignore errors. (Note
@@ -3462,7 +3462,7 @@ def open(
34623462
34633463
:type newline: str
34643464
:param newline:
3465-
For text mode only, controls how line endings are handled. It can
3465+
(Optional) For text mode only, controls how line endings are handled. It can
34663466
be None, '', '\n', '\r', and '\r\n'. If None, reads use "universal
34673467
newline mode" and writes use the system default. See the Python
34683468
'io' module documentation for 'io.TextIOWrapper' for details.

0 commit comments

Comments
 (0)