(self, o: mypy.nodes.BytesExpr)
| 376 | return f"StrExpr({self.str_repr(o.value)})" |
| 377 | |
| 378 | def visit_bytes_expr(self, o: mypy.nodes.BytesExpr) -> str: |
| 379 | return f"BytesExpr({self.str_repr(o.value)})" |
| 380 | |
| 381 | def str_repr(self, s: str) -> str: |
| 382 | s = re.sub(r"\\u[0-9a-fA-F]{4}", lambda m: "\\" + m.group(0), s) |