How to copy class objects?

RajGopal Srinivasan raj at grserv.med.jhmi.edu
Fri Feb 9 12:31:23 EST 2001


matthias.oberlaender at daimlerchrysler.com wrote:
> 
> Somebody suggested the copy module. But copy.copy does not apply to classes!
> 
It does, if your class defines __copy__ 

raj



More information about the Python-list mailing list