Variable Modifications in a class

Brendan Hahn bhahn at spam-spam.g0-away.com
Tue Jun 3 20:38:08 CEST 2003


"Mehta, Anish" <Anish.Mehta at enst-bretagne.fr> wrote:
>  Thanks for the explaination.  That point is clear and also one thing 
>more is that when we have the same piece of code in c , and when we do 
>'c = b' then copy constructor is invoked.

You will find tools for this in the 'copy' module. See
http://www.python.org/doc/current/lib/module-copy.html

-- 
brendan DOT hahn AT hp DOT com




More information about the Python-list mailing list