8000 [3.11] gh-93738: Documentation C syntax (:c:type:`PyBytesObject*` -> … · python/cpython@df133f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit df133f5

Browse files
[3.11] gh-93738: Documentation C syntax (:c:type:PyBytesObject* -> :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>
1 parent 9749c60 commit df133f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/unicode.rst

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

0 commit comments

Comments
 (0)
0