dict.items() vs dict.iteritems and similar questions

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Mar 15 08:59:54 EDT 2007


Steve Holden:
> once you know how long it is you
> no longer have access to the elements. Or did I miss something?

Now and then I need to know how many elements there are, and not what
they are, so in those situations storing them isn't necessary.

Bye,
bearophile




More information about the Python-list mailing list