]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-93738: Documentation C syntax (:c:type:`PyUnicodeObject*` -> :c:expr:`PyUni...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Oct 2022 23:39:57 +0000 (16:39 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Oct 2022 23:39:57 +0000 (16:39 -0700)
:c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*`
(cherry picked from commit 898834e27b82bd1f3532b6448a862a7a9cdeff66)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/c-api/unicode.rst

index 09ded4c32db07ef880133a1ca101aa887e40d09e..a7abe555a7400ae780e32fbd76a08b6b26c2f8ac 100644 (file)
@@ -870,7 +870,7 @@ conversion function:
    ParseTuple converter: decode :class:`bytes` objects -- obtained either
    directly or indirectly through the :class:`os.PathLike` interface -- to
    :class:`str` using :c:func:`PyUnicode_DecodeFSDefaultAndSize`; :class:`str`
-   objects are output as-is. *result* must be a :c:type:`PyUnicodeObject*` which
+   objects are output as-is. *result* must be a :c:expr:`PyUnicodeObject*` which
    must be released when it is no longer used.
 
    .. versionadded:: 3.2