Derived class and deepcopy

Fredrik Lundh fredrik at pythonware.com
Thu Feb 17 03:02:53 EST 2005


Philip Smith wrote:

> In the given example I want to apply deepcopy() to the Matrix instance (on initialisation) to 
> ensure that the list part is not affected by subsequent changes to the initialising list or Matrix 
> but this gives me a string of errors (some of which imply I'm trying to copy the class rather than 
> the instance).
>
> Anyone got any thoughts on this????

where's the example?  what errors do you get?

</F> 






More information about the Python-list mailing list