How do I make a copy of my class object?

Russell Blau russblau at hotmail.com
Thu May 22 17:52:02 EDT 2008


"Marlin Rowley" <marlin_rowley at hotmail.com> wrote in message 
news:BAY135-W134E8CAB38A2ACB2F5933F9FC60 at phx.gbl...
> I have a class object which has the usual data members and functions.
> I'm trying to make a copy of this class (which includes wx.Bitmap objects)
> but deepcopy() doesn't seem to work.  How would I do this?

Are you trying to make a copy of the "class object" or of a class instance?

What error message are you getting when you call deepcopy() on this object?







More information about the Python-list mailing list