Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update Doc/c-api/bytes.rst
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
  • Loading branch information
ZeroIntensity and StanFromIreland authored Nov 11, 2025
commit 915b79f0cb9a2bfd66ef07283a5b79d8bfc07e8e
2 changes: 1 addition & 1 deletion Doc/c-api/bytes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ called with a non-bytes parameter.
If *smartquotes* is true, the representation will use a double-quoted string
instead of single-quoted string when single-quotes are present in *bytes*.
For example, the byte string ``'Python'`` would be represented as
Comment thread
StanFromIreland marked this conversation as resolved.
``b"'Python'"`` when *smartquotes* is true, or b'\'Python\'' when it is
``b"'Python'"`` when *smartquotes* is true, or ``b'\'Python\''`` when it is
false.

On success, this function returns a :term:`strong reference` to a
Expand Down
Loading