[SciPy-User] _construct_default_doc extradoc=None bug in latest svn of scipy.stats.distributions

John Reid j.reid@mail.cryst.bbk.ac...
Tue Oct 19 09:10:53 CDT 2010

On 19/10/10 14:55, josef.pktd@gmail.com wrote:
> It's good to report it here, but you could also open a ticket at
> http://projects.scipy.org/scipy

> It's clearly a bug, I think, it's also be possible to do
> def _construct_default_doc(self, longname=None, extradoc='')
> but I haven't looked at the source yet.

Off the top of my head I thought it was preferred to have default 
arguments be None and then reassign in the function body although I 
couldn't tell you why.

More information about the SciPy-User mailing list