mirror of
https://github.com/python/cpython.git
synced 2025-10-03 21:55:41 +00:00
[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
9749c6029e
commit
df133f54ef
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ argument parsing, the ``"O&"`` converter should be used, passing
|
||||||
ParseTuple converter: encode :class:`str` objects -- obtained directly or
|
ParseTuple converter: encode :class:`str` objects -- obtained directly or
|
||||||
through the :class:`os.PathLike` interface -- to :class:`bytes` using
|
through the :class:`os.PathLike` interface -- to :class:`bytes` using
|
||||||
:c:func:`PyUnicode_EncodeFSDefault`; :class:`bytes` objects are output as-is.
|
: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.
|
no longer used.
|
||||||
|
|
||||||
.. versionadded:: 3.1
|
.. versionadded:: 3.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue