Alex Martelli wrote:

> So, *WHAT ON EARTH* could possibly
> make this weird 'x[:]' form preferable to 'x*1'?!  It's MUCH more
> obvious that the second one returns an independent, separate object
> initially equal to x

.>> x = 2
.>> y = x*1
.>> x is y
True
.>>

just-kidding-ly yours,

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

Reply via email to