On 23 December 2010 20:13, Alan Gauld <[email protected]> wrote:
> I think it will do what you want but I wouldn't bother putting the class
> definitions inside the init - unless there is a good reason. At the very
> least I would create two factory methods which are called by init.
> That would allow you to reset the classes if needed too.

Wonderful!  It turns out a single factory method which can be called
once for each table per database is all that I need.  It has
simplified the code significantly.

Thank you very much.

Rasjid.
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to