Skip to content

Commit

Permalink
Clarify presence of a two-element tuple.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alois Mahdal authored and Alois Mahdal committed Sep 24, 2013
1 parent 6b53b2f commit 239909d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/writing/style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ Unpacking
~~~~~~~~~

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

.. code-block:: python
Expand Down

0 comments on commit 239909d

Please sign in to comment.