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
Fix Sphinx formatting
  • Loading branch information
vstinner committed Apr 8, 2026
commit 91c5a0441a0c3f4a9d1ddcbc115ef7f0fe8db3b7
2 changes: 1 addition & 1 deletion Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1882,7 +1882,7 @@ object.
On error, set an exception, leave the writer unchanged, and return ``-1``.

To write a :class:`str` subclass which overrides the :meth:`~object.__str__`
method, :class:`PyUnicode_FromObject` can be used to get the original
method, :c:func:`PyUnicode_FromObject` can be used to get the original
string.

.. c:function:: int PyUnicodeWriter_WriteRepr(PyUnicodeWriter *writer, PyObject *obj)
Expand Down
Loading