Skip to content

Commit 20ddf1c

Browse files
[3.10] gh-93738: Documentation C syntax (:c:type:PyUnicodeObject* -> :c:expr:PyUnicodeObject*) (GH-97783) (#97860)
:c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*` (cherry picked from commit 898834e) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent f879297 commit 20ddf1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ conversion function:
870870
ParseTuple converter: decode :class:`bytes` objects -- obtained either
871871
directly or indirectly through the :class:`os.PathLike` interface -- to
872872
:class:`str` using :c:func:`PyUnicode_DecodeFSDefaultAndSize`; :class:`str`
873-
objects are output as-is. *result* must be a :c:type:`PyUnicodeObject*` which
873+
objects are output as-is. *result* must be a :c:expr:`PyUnicodeObject*` which
874874
must be released when it is no longer used.
875875
876876
.. versionadded:: 3.2

0 commit comments

Comments
 (0)