Return a dictionary with all functions and classes in module. Search for module in PATH + sys.path. If possible, include imported superclasses. Do this by reading source, without importing (and executing) it.
(module, path=None)
| 110 | return res |
| 111 | |
| 112 | def readmodule_ex(module, path=None): |
| 113 | """Return a dictionary with all functions and classes in module. |
| 114 | |
| 115 | Search for module in PATH + sys.path. |
| 116 | If possible, include imported superclasses. |
| 117 | Do this by reading source, without importing (and executing) it. |
| 118 | """ |
| 119 | return _readmodule(module, path or []) |
| 120 | |
| 121 | |
| 122 | def _readmodule(module, path, inpackage=None): |
no test coverage detected
searching dependent graphs…