#6084: fix example.
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 @@
       >>> 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