Help on help()

"Martin v. Löwis" martin at v.loewis.de
Thu Feb 21 15:31:53 EST 2008


> 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



More information about the Python-list mailing list