summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-22 09:33:25 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-22 09:33:25 (GMT)
commitfa0123b4faf0000620bee6464a58001d066bd2d7 (patch)
tree8d9cfa9d8a0b6ebb845f5919df5079b25ef58fa2
parent5a8d7eb7f1a8b9cff09004a4234d8488c6bcd318 (diff)
downloadcpython-fa0123b4faf0000620bee6464a58001d066bd2d7.zip
cpython-fa0123b4faf0000620bee6464a58001d066bd2d7.tar.gz
cpython-fa0123b4faf0000620bee6464a58001d066bd2d7.tar.bz2
#6084: fix example.
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 9eaffab..e47b392 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1413,7 +1413,7 @@ available. They are listed here in alphabetical order.
>>> zipped
[(1, 4), (2, 5), (3, 6)]
>>> x2, y2 = zip(*zipped)
- >>> x == x2, y == y2
+ >>> x == list(x2) and y == list(y2)
True
.. versionadded:: 2.0