Skip to content

Commit 239909d

Browse files
Alois MahdalAlois Mahdal
authored andcommitted
Clarify presence of a two-element tuple.
1 parent 6b53b2f commit 239909d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/writing/style.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@ Unpacking
273273
~~~~~~~~~
274274

275275
If you know the length of a list or tuple, you can assign names to its
276-
elements with unpacking:
276+
elements with unpacking. For example, since you know that ``enumerate()``
277+
will provide a tuple of two elements for each item in list:
277278

278279
.. code-block:: python
279280

0 commit comments

Comments
 (0)