[Numpy-discussion] help(xxx) vs print(xxx.__doc__)

Bill Baxter wbaxter at gmail.com
Thu Feb 23 17:30:19 EST 2006


Can someone explain why help(numpy.r_) doesn't contain all the information
in print(numpy.r_.__doc__)?

Namely you don't get the helpful example showing usage with 'help' that you
get with '.__doc__'.

I'd rather be able to use 'help' as the one-stop shop for built-in
documentation.  It's less typing and just looks nicer.

Thanks,
--Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20060223/6131ba45/attachment.html>


More information about the NumPy-Discussion mailing list