docstring reference to another docstring

Chris Rebert clp2 at rebertia.com
Tue Mar 10 00:23:12 CET 2009


On Mon, Mar 9, 2009 at 4:17 PM, bdb112 <boyd.blackwell at gmail.com> wrote:
> """" Thanks for the quick reply - I expanded it to a working program,
> it seems to do the job and works in my actual code (always good).  As
> you said, it assumes the called function's class is already defined.
> Is there a way around this? (The module was originally ordered
> "top-down").

Not that I know of, it's the nature of Python; though perhaps someone
will chime in. Also, you ought to be subclassing `object` in your
class definitions.

Cheers,
Chris

-- 
I have a blog:
http://blog.rebertia.com



More information about the Python-list mailing list