In <[EMAIL PROTECTED]>, Diez B. Roggisch wrote:

> No need to create the intermediate list, a generator expression works just
> fine:
> 
> a = tuple(i for i in range(10))

But `range()` creates the intermediate list anyway.  ;-)

a = tuple(xrange(10))

Ciao,

        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to