Mike C. Fletcher wrote:
Ah, my mistake, I missed the [:] after the source argument that was taking a copy... which brings up the question, how many other people would miss it?

Too many. This is why I greatly prefer

   list(lst)

to

   lst[:]

It's also clearer to me. Do I really want a "slice" of the list? No, I want a list copy of the list...

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

Reply via email to