mirror of https://github.com/python/cpython
#6084: fix example.
This commit is contained in:
parent
5a8d7eb7f1
commit
fa0123b4fa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue