On Nov 11, 8:35 am, Thomas Mlynarczyk <[EMAIL PROTECTED]>
wrote:

> [Using dict]
>
> > No, not at all. The point is that you were not *using* any of the
> > mapping functionality of the dict object, only ancillary methods like
> > iteritems -- hence, you should not have been using a dict at all.
>
> I /could/ have done it with a list of tuples. I use no functionality
> that /only/ a dict can do. So using a dict here is like using a truck
> for transporting a single sheet of paper?

You are getting closer. A better analogy is that using a dict is like
transporting passengers along an autobahn in an aeroplane or
helicopter that never leaves the ground.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to