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:34 (GMT)
committerGitHub <noreply@github.com>2022-10-04 23:11:34 (GMT)
commit9ebc50866b58a0ee2985c6540a67fee8a4a49e4d (patch)
tree93ab7d4fa33ee6ae20968f9e6a47f8dbddc7579c /Doc/c-api/unicode.rst
parent898834e27b82bd1f3532b6448a862a7a9cdeff66 (diff)
downloadcpython-9ebc50866b58a0ee2985c6540a67fee8a4a49e4d.zip
cpython-9ebc50866b58a0ee2985c6540a67fee8a4a49e4d.tar.gz
cpython-9ebc50866b58a0ee2985c6540a67fee8a4a49e4d.tar.bz2
gh-93738: Documentation C syntax (:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*`) (#97782)
:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*`
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 f8b6fef..ec9c5d0 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -711,7 +711,7 @@ conversion function:
ParseTuple converter: encode :class:`str` objects -- obtained directly or
through the :class:`os.PathLike` interface -- to :class:`bytes` using
:c:func:`PyUnicode_EncodeFSDefault`; :class:`bytes` objects are output as-is.
- *result* must be a :c:type:`PyBytesObject*` which must be released when it is
+ *result* must be a :c:expr:`PyBytesObject*` which must be released when it is
no longer used.
.. versionadded:: 3.1