Skip to content

Commit

Permalink
gh-93738: Documentation C syntax (:c:type:PyBytesObject* -> :c:expr…
Browse files Browse the repository at this point in the history
…:`PyBytesObject*`) (#97782)

:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*`
  • Loading branch information
AA-Turner committed Oct 4, 2022
1 parent 898834e commit 9ebc508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ebc508

Please sign in to comment.