Felipe Almeida Lessa wrote:

> You see? lst[:] removes all elements from the list that lst refers to,
> while lst = [] just creates a new list and discard the only one. The
> difference is, for example:

Thanks, your explanation was great!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to