(
self, cursor_offset: int, line: str, **kwargs: Any
)
| 306 | return self._completers[0].format(word) |
| 307 | |
| 308 | def matches( |
| 309 | self, cursor_offset: int, line: str, **kwargs: Any |
| 310 | ) -> set[str] | None: |
| 311 | return_value = None |
| 312 | all_matches = set() |
| 313 | for completer in self._completers: |
| 314 | matches = completer.matches( |
| 315 | cursor_offset=cursor_offset, line=line, **kwargs |
| 316 | ) |
| 317 | if matches is not None: |
| 318 | all_matches.update(matches) |
| 319 | return_value = all_matches |
| 320 | |
| 321 | return return_value |
| 322 | |
| 323 | |
| 324 | class ImportCompletion(BaseCompletionType): |