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