Skip to content

Commit 71473d3

Browse files
Update util.py
1 parent f7468d9 commit 71473d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def set_mypyc_attr(key: str, value: Any, line: int) -> None:
142142
attrs[key] = value
143143
lines[key] = line
144144
else:
145-
errors.error(f"{key} is not a supported `mypyc_attrs` key.", path, line)
145+
errors.error(f"{key!r} is not a supported `mypyc_attr`", path, line)
146146
errors.note(f"supported keys: {', '.join(map(repr, sorted(MYPYC_ATTRS)))}", path, line)
147147

148148
for dec in stmt.decorators:

0 commit comments

Comments
 (0)