(self, other: str)
| 6002 | return _anonymous_label(f"%({seed} {body.replace('%', '%%')})s") |
| 6003 | |
| 6004 | def __add__(self, other: str) -> _anonymous_label: |
| 6005 | if "%" in other and not isinstance(other, _anonymous_label): |
| 6006 | other = str(other).replace("%", "%%") |
| 6007 | else: |
| 6008 | other = str(other) |
| 6009 | |
| 6010 | return _anonymous_label( |
| 6011 | quoted_name( |
| 6012 | str.__add__(self, other), |
| 6013 | self.quote, |
| 6014 | ) |
| 6015 | ) |
| 6016 | |
| 6017 | def __radd__(self, other: str) -> _anonymous_label: |
| 6018 | if "%" in other and not isinstance(other, _anonymous_label): |
no test coverage detected