I'm starting to think like a Pythonista
Bjoern Schliessmann
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Thu Oct 11 12:15:54 EDT 2007
brad wrote:
> Bjoern Schliessmann wrote:
>> Why use xrange if you convert it to a full list in place? No
>> advantage there.
>
> What is the dis-advantage of using xrange over range in this
> circumstance?
Hardly any, but honestly: Converting it to a list manually is more
than superfluous.
Regards,
Björn
--
BOFH excuse #284:
Electrons on a bender
More information about the Python-list
mailing list