(self, node)
| 615 | return msgid |
| 616 | |
| 617 | def _get_func_name(self, node): |
| 618 | match node.func: |
| 619 | case ast.Name(id=id): |
| 620 | return id |
| 621 | case ast.Attribute(attr=attr): |
| 622 | return attr |
| 623 | case _: |
| 624 | return None |
| 625 | |
| 626 | def _is_string_const(self, node): |
| 627 | return isinstance(node, ast.Constant) and isinstance(node.value, str) |