On Sat, May 11, 2013 at 12:37 AM, Roy Smith <r...@panix.com> wrote:
> I suppose, if I had a class like this, I would write a factory function
> which called the constructor and post-construction initializer.  And
> then I would make the constructor protected.

That sounds like a reasonable plan, with the possible exception of
protected. Since meeting Python, I've stopped using private and
protected anywhere.

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

Reply via email to