]> granicus.if.org Git - python/commitdiff
#6084: fix example.
authorGeorg Brandl <georg@python.org>
Fri, 22 May 2009 09:33:25 +0000 (09:33 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 22 May 2009 09:33:25 +0000 (09:33 +0000)
Doc/library/functions.rst

index 9eaffab0d254d0af7fef1ab1ae8efff35849bc74..e47b392885a9b8025d472c6d79c465c1444797a8 100644 (file)
@@ -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