On Tuesday 22 July 2003 10:28 am, Vio wrote:
> def cloneObj(obj):
>     cloneObj = obj.__class__()

It's worse than that.  This presumes you can default construct your 
object, which in many (most?) cases you probably can't.

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to