Find the functions and classes defined in the module ``uri``
(self, uri)
| 229 | return sorted(funcs), sorted(classes, key=lambda x: x.name) |
| 230 | |
| 231 | def find_funcs_classes(self, uri): |
| 232 | """Find the functions and classes defined in the module ``uri``""" |
| 233 | if uri in self.names_from__all__: |
| 234 | # For API modules which expose things defined elsewhere, import them |
| 235 | return self._import_funcs_classes(uri) |
| 236 | else: |
| 237 | # For other modules, scan their AST to see what they define |
| 238 | return self._parse_module(uri) |
| 239 | |
| 240 | def generate_api_doc(self, uri): |
| 241 | '''Make autodoc documentation template string for a module |
no test coverage detected