Skip to content

Commit 264b615

Browse files
miss-islingtonAA-Turner
authored andcommitted
[3.11] gh-93738: Documentation C syntax (:c:type:PyUnicodeObject* -> :c:expr:PyUnicodeObject*) (GH-97783) (#97859)
: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 0679066 commit 264b615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/unicode.rst

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

0 commit comments

Comments
 (0)