(self)
| 347 | return res.from_name, res.name |
| 348 | |
| 349 | def _parse(self) -> Result | None: |
| 350 | with self.tokens.save_state(): |
| 351 | return self.parse_from_import() |
| 352 | with self.tokens.save_state(): |
| 353 | return self.parse_import() |
| 354 | |
| 355 | def parse_import(self) -> Result: |
| 356 | if self.code.rstrip().endswith('import') and self.code.endswith(' '): |
no test coverage detected