> Please verify before asserting:
>
> >>> a = [[1, 2], [3, 4]]
> >>> b = a[1]
> >>> b is a[1]
> True
> >>> id(b)
> 46912496915448
> >>> id(a[1])
> 46912496915448

Right, I must have had slicing on the brain.

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

Reply via email to