Author bones7456
Recipients bones7456, georg.brandl
Date 2009-05-22.09:17:48
SpamBayes Score 3.7694e-05
Marked as misclassified No
Message-id <1242983871.03.0.567968513766.issue6084@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-05-22 09:17:51bones7456setrecipients: + bones7456, georg.brandl
2009-05-22 09:17:51bones7456setmessageid: <1242983871.03.0.567968513766.issue6084@psf.upfronthosting.co.za>
2009-05-22 09:17:49bones7456linkissue6084 messages
2009-05-22 09:17:48bones7456create