Skip to content

Commit e7198bc

Browse files
Duplicate "a borrowed".
1 parent f8bc0e0 commit e7198bc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Doc/c-api/arg.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,17 +344,17 @@ Other objects
344344
in *items*. The C arguments must correspond to the individual format units in
345345
*items*. Format units for sequences may be nested.
346346

347-
If *items* contains format units which store a
348-
:ref:`borrowed buffer <c-arg-borrowed-buffer>` or
347+
If *items* contains format units which store
348+
a :ref:`borrowed buffer <c-arg-borrowed-buffer>` or
349349
a :term:`borrowed reference`
350350
(``y``, ``y#``, ``s``, ``s#``, ``z``, ``z#``, ``S``, ``Y``, ``U``,
351351
``O`` or ``O!``), the object must be a Python tuple.
352352
The *converter* for the ``O&`` format unit in *items* must not store
353-
a borrowed buffer or reference.
353+
a borrowed buffer or a borrowed reference.
354354

355355
.. deprecated:: next
356356
Non-tuple sequences are deprecated if *items* contains format units
357-
which store a borrowed buffer or reference.
357+
which store a borrowed buffer or a borrowed reference.
358358

359359
It is possible to pass "long" integers (integers whose value exceeds the
360360
platform's :c:macro:`LONG_MAX`) however no proper range checking is done --- the
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Non-tuple sequences are deprecated as argument for the ``(items)`` format
22
unit in :c:func:`PyArg_ParseTuple` and other :ref:`argument parsing
33
<arg-parsing>` functions if *items* contains format units which store
4-
a :ref:`borrowed buffer <c-arg-borrowed-buffer>` or a :term:`borrowed
5-
reference`.
4+
a :ref:`borrowed buffer <c-arg-borrowed-buffer>` or
5+
a :term:`borrowed reference`.

0 commit comments

Comments
 (0)