Skip to content

Commit f8522b4

Browse files
authored
Update src/makefun/main.py
1 parent 8d041a9 commit f8522b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/makefun/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def create_function(func_signature, # type: Union[str, Signature]
209209
else:
210210
if not (_is_valid_func_def_name(co_name)
211211
or _is_lambda_func_name(co_name)):
212-
raise ValueError("Invalid co_name %s for created function. "
212+
raise ValueError("Invalid co_name %r for created function. "
213213
"It is not possible to declare a function "
214214
"with the provided co_name." % co_name)
215215

0 commit comments

Comments
 (0)