Re: Help on help()

2008-02-21 Thread Martin v. Löwis
> If I do:
> 
> import my_module
> help(my_module)
> 
> I'd like to see ONLY help on my_module, NOT help on all the functions
> inherited from the various parent classes . . .

I would do

print my_module.__doc__

HTH,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list


Help on help()

2008-02-21 Thread dbr517
Is there any technique for preventing help from recursing into the
module tree??

If I do:

import my_module
help(my_module)

I'd like to see ONLY help on my_module, NOT help on all the functions
inherited from the various parent classes . . .

A quick search of the documentation didn't turn up anything . . . .

TIA .. .

Dan
-- 
http://mail.python.org/mailman/listinfo/python-list