[SciPy-Dev] scipy stats tutorial

nicky van foreest vanforeest at gmail.com
Sat May 12 15:54:39 EDT 2012


> Could you remove the use of the extradoc parameter? It's not needed anymore,
> and we'll probably get rid of it at some point. Looking at the docstring can
> be done with help() in the Python interpreter or "?" in IPython.

Look here:

nicky at chuck:~$ python
Python 2.7.3 (default, Apr 20 2012, 22:39:59)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy.stats import norm
Help on norm_gen in module scipy.stats.distributions object:

class norm_gen(rv_continuous)
 |  Method resolution order:

etc.

I did not research the cause of this, but I don't get the doc of norm,
but of norm_gen. When I use ipython I get the correct results though.
What would be the best way to call the documentation of extra_doc from
within python?

NIcky



More information about the SciPy-Dev mailing list