(module: ModuleDoc, modules: list[ModuleDoc])
| 282 | |
| 283 | |
| 284 | def _module_has_children(module: ModuleDoc, modules: list[ModuleDoc]) -> bool: |
| 285 | parts = _module_parts(module) |
| 286 | return any( |
| 287 | other_parts[: len(parts)] == parts and len(other_parts) > len(parts) |
| 288 | for other_parts in (_module_parts(other) for other in modules) |
| 289 | ) |
| 290 | |
| 291 | |
| 292 | def _module_url(module: ModuleDoc) -> str: |
no test coverage detected