list*list

David Isaac aisaac0 at verizon.net
Mon May 1 12:50:26 EDT 2006


"Diez B. Roggisch" <deets at nospam.web.de> wrote in message
news:4bmotsF126gicU1 at uni-berlin.de...
> it's considered bad style to use range if all you want is a
> enumeration of indices, as it will actually create a list of the size you
> specified. Use xrange in such cases.

I'm pretty sure this distinction goes away in 2.5.
Cheers,
Alan Isaac





More information about the Python-list mailing list