George Sakkis wrote:

> Why does slicing a tuple returns a new tuple instead of a view of the 
> existing one, given that
> tuples are immutable ?

really?

>>> a = 1, 2, 3
>>> b = a[:]
>>> a is b
True

</F> 



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

Reply via email to