(
self, stmts: list[ast3.stmt], *, can_strip: bool = False, is_coroutine: bool = False
)
| 604 | return b |
| 605 | |
| 606 | def as_required_block( |
| 607 | self, stmts: list[ast3.stmt], *, can_strip: bool = False, is_coroutine: bool = False |
| 608 | ) -> Block: |
| 609 | assert stmts # must be non-empty |
| 610 | b = Block( |
| 611 | self.fix_function_overloads( |
| 612 | self.translate_stmt_list(stmts, can_strip=can_strip, is_coroutine=is_coroutine) |
| 613 | ) |
| 614 | ) |
| 615 | self.set_block_lines(b, stmts) |
| 616 | return b |
| 617 | |
| 618 | def fix_function_overloads(self, stmts: list[Statement]) -> list[Statement]: |
| 619 | ret: list[Statement] = [] |
no test coverage detected