Instantiation of 2nd object appends 1st?

Alex not_such_a_brain_after_all at mit.edu
Wed Nov 8 08:00:00 EST 2000


A_list is associated to the class A rather than any particular instance
of A.  If you want a distinct list for each instance, set it in the
__init__ method.

Alex. 

-- 
Speak softly but carry a big carrot.




More information about the Python-list mailing list