replicating objects

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Thu Feb 12 18:04:26 EST 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