[EMAIL PROTECTED] wrote: > [test 1] > >>> class A: > ... i = 1 > ... > >>> a = A() > >>> A.i > 1 > >>> a.i > 1 > >>> A.i = 2 > >>> A.i > 2 > >>> a.i > 2 > >>> > > [test2] > >>> class A: > ... i = 1 > ... > >>> a = A() > >>> A.i > 1 > >>> a.i > 1 > >>> a.i = 2 > >>> A.i > 1 > >>> a.i > 2 > >>> > > Is there somthing wrong???? I don't think so, the name binding stuff again. Good to know though.
-- http://mail.python.org/mailman/listinfo/python-list