summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/unicode.rst
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-10-04 23:11:20 (GMT)
committerGitHub <noreply@github.com>2022-10-04 23:11:20 (GMT)
commit898834e27b82bd1f3532b6448a862a7a9cdeff66 (patch)
treed89cb6953cbe6272f286fcfafbc648867df86a7c /Doc/c-api/unicode.rst
parenta081cae2a2cd1248ad067c3f7dc218ea7e3d203a (diff)
downloadcpython-898834e27b82bd1f3532b6448a862a7a9cdeff66.zip
cpython-898834e27b82bd1f3532b6448a862a7a9cdeff66.tar.gz
cpython-898834e27b82bd1f3532b6448a862a7a9cdeff66.tar.bz2
gh-93738: Documentation C syntax (:c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*`) (#97783)
:c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*`
Diffstat (limited to 'Doc/c-api/unicode.rst')
-rw-r--r--Doc/c-api/unicode.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 99afebd..f8b6fef 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -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