Getting docstrings from Python package __init__ - based imports
===

I have several modules that are within a python package:

    #my_package
    __init__.py
    ...module1.py
    ...module2.py

Within my __init__.py, I'm importing these modules so that they will be accessible once the package is imported by my users.

    #__init__.py
    import module1.py
    import module2.py

My question is:  how do I programatically access the docstrings for each of my defined functions within each of these modules?  I've seen [others][1] use a form of this:

    getattr( module, key ). __doc__
    
but I can't get it to work for me.  Any ideas?

  [1]: http://stackoverflow.com/a/1270639/655787