(self, op: ast3.cmpop)
| 575 | } |
| 576 | |
| 577 | def from_comp_operator(self, op: ast3.cmpop) -> str: |
| 578 | op_name = ASTConverter.comp_op_map.get(type(op)) |
| 579 | if op_name is None: |
| 580 | raise RuntimeError("Unknown comparison operator " + str(type(op))) |
| 581 | else: |
| 582 | return op_name |
| 583 | |
| 584 | def set_block_lines(self, b: Block, stmts: Sequence[ast3.stmt]) -> None: |
| 585 | first, last = stmts[0], stmts[-1] |
no test coverage detected