8000 [3.11] gh-93738: Documentation C syntax (:c:type:`PyUnicodeObject*` -… · python/cpython@9749c60 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9749c60

Browse files
[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 1657c83 commit 9749c60

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
@@ -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)
0