Ed Leafe wrote: > On Apr 30, 2007, at 6:12 PM, Carl Karsten wrote: > >>>> Why is it needed when you can just specify the 2 classes in a class >>>> definition? >>> Which two classes would those be? >> The ones passed to the function. > > There is more going on than just: > > class cursorMix(main, secondary): pass > > I see 3 places where this is needed in dBizobj. So I have a choice > to triplicate the code in those places, or I could write it once in a > function and call that function from three different places.
It may help if you add a docstring to _getCursorClass(), but I still have no clue where to put my code.
The closest thing I have gotten in the way of advice from you is:
> update dbMySQL.py to include that > code, and dBackend.py to add the default method behavior.
Should I just add it, and if you don't like it you can tell me how to implement it?
Carl K
©2007 Carl Karsten |