Skip to content

Commit eafb3f9

Browse files
AA-Turnermiss-islington
authored andcommitted
pythongh-93738: Documentation C syntax (:c:type:PyBytesObject* -> :c:expr:PyBytesObject*) (pythonGH-97782)
:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*` (cherry picked from commit 9ebc508) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent a980daf commit eafb3f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ argument parsing, the ``"O&"`` converter should be used, passing
853853
ParseTuple converter: encode :class:`str` objects -- obtained directly or
854854
through the :class:`os.PathLike` interface -- to :class:`bytes` using
855855
:c:func:`PyUnicode_EncodeFSDefault`; :class:`bytes` objects are output as-is.
856-
*result* must be a :c:type:`PyBytesObject*` which must be released when it is
856+
*result* must be a :c:expr:`PyBytesObject*` which must be released when it is
857857
no longer used.
858858
859859
.. versionadded:: 3.1

0 commit comments

Comments
 (0)