Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>  Nick Craig-Wood wrote:
> 
> > Using keywords[:] stops the creation of another temporary list.
> 
>  in CPython, "list[:] = iter" actually creates a temporary list object on 
>  the inside, in case "iter" isn't already a list or a tuple.
> 
>  (see the implementation of PySequence_Fast() for details).

Ah, OK, thanks for the correction!

-- 
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to