sphinx.pycode.get_module_source

sphinx.pycode.get_module_source(modname)[source]

Try to find the source code for a module.

Can return (‘file’, ‘filename’) in which case the source is in the given file, or (‘string’, ‘source’) which which case the source is the string.