[clang] [clang][Python] Use fstrings instead of string concatenations (PR #173861)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 14:03:27 PST 2026
================
@@ -3284,10 +3284,12 @@ def briefComment(self) -> str:
def __repr__(self) -> str:
return (
- f"{' | '.join(str(a) for a in self)}"
- f" || Priority: {self.priority}"
- f" || Availability: {self.availability}"
- f" || Brief comment: {self.briefComment}"
+ "{} || Priority: {} || Availability: {} || Brief comment: {}".format(
+ " | ".join(str(a) for a in self),
----------------
mikomikotaishi wrote:
OK, I'll apply that change
https://github.com/llvm/llvm-project/pull/173861
More information about the cfe-commits
mailing list