On 10/10/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 10/10/05, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > I'd like to use doctest for testing my model classes, but the model > > metaclass overwrites my classes docstrings. Is there any reason why it > > MUST override __doc__? I think the model metaclass should leave > > __doc__ alone if it exists. Thoughts? > > Nope, there's no reason that it must override. Were you thinking the > docstring for a model class would become the docstring of the object > instances?
Probably so. The only other choice I can think of is the model's module. Intuitively, the former makes more sense to me. I honestly don't care as long as I can run the doctests in my model classes docstrings though. :) Joseph