On 19Apr2010 21:31, alex23 <wuwe...@gmail.com> wrote:
| Cameron Simpson <c...@zip.com.au> wrote:
| >   If items(), keys(), values(), iteritems(), iterkeys(), and
| >   itervalues() are called with no intervening modifications to the
| >   dictionary, the lists will directly correspond. This allows the
| >   creation of (value, key) pairs using zip(): pairs = zip(d.values(),
| >   d.keys()).
| 
| I stand corrected. Thanks Cameron.

Oh, I was all ready to say what you said, but decided to check the docs
myself first:-)

Cheers,
-- 
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

I really don't like :-) symbols as well. I feel that if you can't see the pie
coming, you deserve whipped cream up your nose.
        - r...@cherry.cray.com (rob derrick)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to