From: Georg Brandl Date: Fri, 22 May 2009 09:33:25 +0000 (+0000) Subject: #6084: fix example. X-Git-Tag: v2.7a1~1134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa0123b4faf0000620bee6464a58001d066bd2d7;p=python #6084: fix example. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 9eaffab0d2..e47b392885 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