gh-93738: Documentation C syntax (:c:type:PyUnicodeObject* -> :c:expr:PyUnicodeObject*) (#97783)

:c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*`
This commit is contained in:
Adam Turner 2022-10-05 00:11:20 +01:00 committed by GitHub
parent a081cae2a2
commit 898834e27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -728,7 +728,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