Wildemar Wildenburger wrote:
> x = [1, 2, 3]
> y = [1, 2, 3]
> id(x), id(y)
> x == y
> x is y
>   
Ooops!

Make that:

x = [1, 2, 3]
y = [1, 2, 3]
id(x); id(y)
x == y
x is y

(had to be a semicolon there)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to