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
Fix Sphinx warning.
  • Loading branch information
ZeroIntensity committed Nov 11, 2025
commit 15277b303ed949b0ffd0ea02a85c2c4b4d509efb
2 changes: 1 addition & 1 deletion Doc/c-api/bytes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ called with a non-bytes parameter.
.. c:function:: PyObject *PyBytes_Repr(PyObject *bytes, int smartquotes)

Get the string representation of *bytes*. This function is used to
implement :meth:`bytes.__repr__` in Python.
implement :meth:`!bytes.__repr__` in Python.
Comment thread
StanFromIreland marked this conversation as resolved.

If *smartquotes* is true, the representation will use a double-quoted string
instead of single-quoted string when single-quotes are present in *bytes*.
Expand Down
Loading