Skip to content

Commit 86e2243

Browse files
AA-Turnermpage
authored andcommitted
pythongh-93738: Documentation C syntax (:c:type:PyBytesObject* -> :c:expr:PyBytesObject*) (python#97782)
:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*`
1 parent 1007409 commit 86e2243

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
@@ -711,7 +711,7 @@ conversion function:
711711
ParseTuple converter: encode :class:`str` objects -- obtained directly or
712712
through the :class:`os.PathLike` interface -- to :class:`bytes` using
713713
:c:func:`PyUnicode_EncodeFSDefault`; :class:`bytes` objects are output as-is.
714-
*result* must be a :c:type:`PyBytesObject*` which must be released when it is
714+
*result* must be a :c:expr:`PyBytesObject*` which must be released when it is
715715
no longer used.
716716
717717
.. versionadded:: 3.1

0 commit comments

Comments
 (0)