Skip to content

Commit fac1989

Browse files
Re-order format units.
1 parent e7198bc commit fac1989

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Doc/c-api/arg.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,10 @@ 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
348-
a :ref:`borrowed buffer <c-arg-borrowed-buffer>` or
349-
a :term:`borrowed reference`
350-
(``y``, ``y#``, ``s``, ``s#``, ``z``, ``z#``, ``S``, ``Y``, ``U``,
351-
``O`` or ``O!``), the object must be a Python tuple.
347+
If *items* contains format units which store a :ref:`borrowed buffer
348+
<c-arg-borrowed-buffer>` (``s``, ``s#``, ``z``, ``z#``, ``y``, or ``y#``)
349+
or a :term:`borrowed reference` (``S``, ``Y``, ``U``, ``O``, or ``O!``),
350+
the object must be a Python tuple.
352351
The *converter* for the ``O&`` format unit in *items* must not store
353352
a borrowed buffer or a borrowed reference.
354353

0 commit comments

Comments
 (0)