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