(self, path: str, module: str)
| 232 | return path, prefix |
| 233 | |
| 234 | def format_completion(self, path: str, module: str) -> str: |
| 235 | if path == '' or path.endswith('.'): |
| 236 | return f'{path}{module}' |
| 237 | return f'{path}.{module}' |
| 238 | |
| 239 | def _resolve_relative_path(self, path: str) -> str | None: |
| 240 | """Resolve a relative import path to absolute. Returns None if unresolvable.""" |