Skip to content

Commit 5aa108b

Browse files
[3.10] gh-93738: Documentation C syntax (:c:type:PyBytesObject* -> :c:expr:PyBytesObject*) (GH-97782) (#97862)
:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*` (cherry picked from commit 9ebc508) Co-authored-by: Adam Turner <[email protected]>
1 parent 20ddf1c commit 5aa108b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/unicode.rst

+1-1
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)