On 2008-01-22, citizen Bruno Desthuilliers testified: >> from copy import copy >> ### see also deepcopy >> self.lst = copy(val) > > What makes you think the OP wants a copy ?
I´m guessing he doesn´t want to mutate original list, while changing contents of self.lst. bart -- "chłopcy dali z siebie wszystko, z czego tv pokazała głównie bebechy" http://candajon.azorragarse.info/ http://azorragarse.candajon.info/ -- http://mail.python.org/mailman/listinfo/python-list