shallow copy vs. deep copy

Bernhard Herzog bh at intevation.de
Sat Jun 22 13:05:21 EDT 2002


Chris Liechti <cliechti at gmx.net> writes:
 
> > on the other side i could also:
> > 
> > new.__dict__ = old.__dict__.copy()
> 
> that's what i would call a swallow copy.

A european or an african swallow?

SCNR ;-)


   Bernhard 

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                           http://www.mapit.de/



More information about the Python-list mailing list