New submission from bones7456 <bones7...@gmail.com>: http://docs.python.org/library/functions.html?highlight=zip#zip
In this page, the example is error: Python 2.6.2 (r262:71600, Apr 24 2009, 10:04:30) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> x = [1, 2, 3] >>> y = [4, 5, 6] >>> zipped = zip(x, y) >>> zipped [(1, 4), (2, 5), (3, 6)] >>> x2, y2 = zip(*zipped) >>> x == x2, y == y2 (False, False) The last line is "(False, False)", not True. ---------- assignee: georg.brandl components: Documentation messages: 88182 nosy: bones7456, georg.brandl severity: normal status: open title: documentation of zip function is error versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6084> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com