Instances of MyClass have a method that
returns another instance.  Ignoring the details
of why I might wish to do this, I could
return MyClass()
or
return self.__class__()

I like that latter better.  Should I?
Should I do something else altogether?

Thanks,
Alan Isaac


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to