We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac9891 commit b3acb91Copy full SHA for b3acb91
Tools/clinic/libclinic/errors.py
@@ -15,7 +15,7 @@ def __post_init__(self) -> None:
15
def report(self, *, warn_only: bool = False) -> str:
16
msg = "Warning" if warn_only else "Error"
17
if self.filename is not None:
18
- msg += f" in file '{self.filename}'"
+ msg += f" in file {self.filename!r}"
19
if self.lineno is not None:
20
msg += f" on line {self.lineno}"
21
msg += ":\n"
0 commit comments