Browse files

Merge pull request #323 from AloisMahdal/i322

Clarify presence of a two-element tuple.
  • Loading branch information...
2 parents 6b53b2f + f32ef5f commit 0c986dba4e86fc626cdba453278e5d72a1255d42 @kennethreitz committed Oct 14, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 docs/writing/style.rst
@@ -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 ``enumerate()`` will provide
+a tuple of two elements for each item in list:
.. code-block:: python

0 comments on commit 0c986db

Please sign in to comment.