[SciPy-Dev] scipy stats: doc strings of discrete distributions
nicky van foreest
vanforeest at gmail.com
Tue May 8 16:18:11 EDT 2012
Hopefully you don't mind that I try to keep topics separated by
sending separated mails.
I noticed that the implementation of the doc strings differ for
rv_continuous and rv_discrete. rv_continuous implementations look
like
class expon_gen(....):
"""
docs...
"""
def _rvs(...)
expon = expon_gen(....)
On the other hand, binom looks like
class binom_gen(rv_discrete):
def _rvs(self, n, p):
binom = binom_gen(name='binom',shapes="n, p",extradoc="""
Binomial distribution
"""
Any objections against moving the extra doc and make the discrete
distributions look more like the continuous ones?
More information about the SciPy-Dev
mailing list