Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/c-api/bytes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ called with a non-bytes parameter.

While bytes objects are usually immutable in Python, this special C API
allows mutating a bytes object in-place. The returned bytes object can still
be mutated using :c:func:`PyBytesWriter_GetData`; except if *newsize* is
be mutated using :c:func:`PyBytes_AsString`; except if *newsize* is
zero in which case it returns the immutable empty bytes string.

.. soft-deprecated:: 3.15
Expand Down
Loading