Skip to content

Commit 365a137

Browse files
Add f-string to exception message
1 parent 443a79f commit 365a137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/celpy/evaluation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3415,7 +3415,7 @@ def member_dot_arg(self, tree: TranspilerTree) -> None:
34153415
).transpiled.split(".")
34163416
else:
34173417
raise CELSyntaxError( # pragma: no cover
3418-
"no bind variable in {property_name_token.value} macro",
3418+
f"no bind variable in {property_name_token.value} macro",
34193419
line=tree.meta.line,
34203420
column=tree.meta.column,
34213421
)

0 commit comments

Comments
 (0)