Edvard Majakari wrote:
> Steven Bethard <[EMAIL PROTECTED]> writes:
> 
>>$ python -m timeit "for x in (i for i in xrange(10)): y = x"
>>100000 loops, best of 3: 4.75 usec per loop
> 
> Yowza! One of the features I really liked in Perl has shored Python island
> somewhere in the 2.4'ies, it seems[1]. Thanks for the tip!
[snip]
> But using -m makes it much more convenient.

Yup, it showed up in Python 2.4.  Great, isn't it?

STeVe
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to