Re: docstring reference to another docstring

2009-03-09 Thread Chris Rebert
On Mon, Mar 9, 2009 at 4:17 PM, bdb112 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 mo

Re: docstring reference to another docstring

2009-03-09 Thread bdb112
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"). class Cl

Re: docstring reference to another docstring

2009-03-09 Thread Chris Rebert
On Mon, Mar 9, 2009 at 3:23 PM, bdb112 wrote: > A function of the class ClusterSet uses a similar function of the > class Cluster to do most of its work.  Its docstring could have so > much in common with that in Cluster that it could be just a line or > two in addition to that of Cluster. > > Is

docstring reference to another docstring

2009-03-09 Thread bdb112
A function of the class ClusterSet uses a similar function of the class Cluster to do most of its work. Its docstring could have so much in common with that in Cluster that it could be just a line or two in addition to that of Cluster. Is there a way for the ClusterSet docstring to tack the Clust