(self, frame: Frame, with_python_scope: bool = False)
| 595 | self.writeline(f"{' = '.join(undefs)} = missing") |
| 596 | |
| 597 | def leave_frame(self, frame: Frame, with_python_scope: bool = False) -> None: |
| 598 | if not with_python_scope: |
| 599 | undefs = [] |
| 600 | for target in frame.symbols.loads: |
| 601 | undefs.append(target) |
| 602 | if undefs: |
| 603 | self.writeline(f"{' = '.join(undefs)} = missing") |
| 604 | |
| 605 | def choose_async(self, async_value: str = "async ", sync_value: str = "") -> str: |
| 606 | return async_value if self.environment.is_async else sync_value |
no test coverage detected