]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-93738: Documentation C syntax (:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject...
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Tue, 4 Oct 2022 23:11:34 +0000 (00:11 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Oct 2022 23:11:34 +0000 (16:11 -0700)
:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*`

Doc/c-api/unicode.rst

index f8b6fef33215411a935c83b3a0bfe3880bd224c0..ec9c5d089c57fbce03858704adf2c1511d2f90fc 100644 (file)
@@ -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