#6084: fix example.

This commit is contained in:
Georg Brandl 2009-05-22 09:33:25 +00:00
parent 5a8d7eb7f1
commit fa0123b4fa
1 changed files with 1 additions and 1 deletions

View File

@ -1413,7 +1413,7 @@ available. They are listed here in alphabetical order.
>>> zipped >>> zipped
[(1, 4), (2, 5), (3, 6)] [(1, 4), (2, 5), (3, 6)]
>>> x2, y2 = zip(*zipped) >>> x2, y2 = zip(*zipped)
>>> x == x2, y == y2 >>> x == list(x2) and y == list(y2)
True True
.. versionadded:: 2.0 .. versionadded:: 2.0