Commit ec417fb9 authored by Sandro Tosi's avatar Sandro Tosi

merge with 3.2

parents cd008343 aed8d872
......@@ -297,7 +297,7 @@ which, in turn, is the same as::
In the real world, you should prefer built-in functions to complex flow statements.
The :func:`zip` function would do a great job for this use case::
>>> zip(*matrix)
>>> list(zip(*matrix))
[(1, 5, 9), (2, 6, 10), (3, 7, 11), (4, 8, 12)]
See :ref:`tut-unpacking-arguments` for details on the asterisk in this line.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment