Re: array in class

2008-05-13 Thread Diez B. Roggisch
d that array. > (where bi is instance of B) > but changes on this_is_original_variable_only_for_one_inctance works > fine > > why it does that? > and how create array in class - normal array, "private variable" BOTH are at first class-wide. The difference is that the list is muta

Re: array in class

2008-05-13 Thread Marco Mariani
ibute 'this_is_common_for_all_instances', but appended to it. and how create array in class - normal array, "private variable" 1) it's called a list, not an array 2) you do that in the __init__ method: self.blabla = [] 3) still, it won't be a "private"

array in class

2008-05-13 Thread alefajnie
that? and how create array in class - normal array, "private variable" -- http://mail.python.org/mailman/listinfo/python-list