replicating objects

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Fri Feb 13 00:04:26 CET 2004


> From: Stefan Seefeld
> 
> I'v got a composite object that I want to replicate
> (say, similar to C++'s copy constructor). What is the
> best way to implement that ? Are there any metaprogramming
> techniques that could me help to achieve what I want ?

Have a look at the 'copy' module.

Tim Delaney




More information about the Python-list mailing list