Inverse of dict(zip(x,y))

Tino Wildenhain tino at wildenhain.de
Fri Mar 6 08:24:54 EST 2009


Andre Engels wrote:
> On Thu, Mar 5, 2009 at 6:01 PM, Tino Wildenhain <tino at wildenhain.de> wrote:
> 
>> Still I'd like to see an application where this really matters (that
>> keys() and values() match in order)
> 
> I think there are many such applications, but also that in each of
> those cases it's a mis-programming of something that would be done
> better and more pythonic using items()...

Thats what I'm thinking, so I'd like to see a few if there are so many...

T.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20090306/3efb10ec/attachment-0001.bin>


More information about the Python-list mailing list