How to create a docstring for a module?
alex23
wuwei23 at gmail.com
Sun Dec 6 21:51:30 EST 2009
"Phillip M. Feldman" <pfeld... at verizon.net> wrote:
> It does seem as though IPython could be a bit more clever about this.
I disagree. I _like_ that IPython is only reporting on the current
state of the interpreter and not trying to second guess what I meant.
> If the user asks for documentation on xyz via "?xyz" and xyz is not
> defined, then I'd like to see IPython check for a module named "xyz" and
> if it exists, extract and display the docstring.
How would you recommend IPython distinguish between which "xyz" you
meant: the one in site-packages, the one in some package on the python
path, or the one in the folder you're running IPython from?
More information about the Python-list
mailing list