Can you create an instance of a subclass with an existing instance of the base class?
Sandra-24
sandravandale at yahoo.com
Fri Apr 21 16:08:25 EDT 2006
Can you create an instance of a subclass using an existing instance of
the base class?
Such things would be impossible in some languages or very difficult in
others. I wonder if this can be done in python, without copying the
base class instance, which in my case is a very expensive object.
Any ideas?
Thanks,
-Sandra
More information about the Python-list
mailing list