Skip to content

Commit

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

:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*`
(cherry picked from commit 9ebc508)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
2 people authored and pablogsal committed Oct 22, 2022
1 parent ab665d9 commit 0679066
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 @@ -849,7 +849,7 @@ argument parsing, the ``"O&"`` converter should be used, passing
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 0679066

Please sign in to comment.