mirror of https://github.com/python/cpython.git
[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 9ebc50866b
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
ab665d9b67
commit
0679066d94
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue