Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 131160c

Browse files
committed
merge with 3.2
2 parents b428f47 + 0a90a82 commit 131160c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tutorial/datastructures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ which, in turn, is the same as::
297297
In the real world, you should prefer built-in functions to complex flow statements.
298298
The :func:`zip` function would do a great job for this use case::
299299

300-
>>> zip(*matrix)
300+
>>> list(zip(*matrix))
301301
[(1, 5, 9), (2, 6, 10), (3, 7, 11), (4, 8, 12)]
302302

303303
See :ref:`tut-unpacking-arguments` for details on the asterisk in this line.

0 commit comments

Comments
 (0)