Clarify presence of a two-element tuple.

This commit is contained in:
Alois Mahdal
2013-09-24 14:01:59 +02:00
parent 6b53b2f0a2
commit 239909dc4c
+2 -1
View File
@@ -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