summaryrefslogtreecommitdiff
path: root/py/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/compile.c')
-rw-r--r--py/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/compile.c b/py/compile.c
index 5748256f2..4cc6ab9eb 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -2826,7 +2826,7 @@ STATIC void compile_scope_func_lambda_param(compiler_t *comp, mp_parse_node_t pn
bool added;
id_info_t *id_info = scope_find_or_add_id(comp->scope_cur, param_name, &added);
if (!added) {
- compile_syntax_error(comp, pn, "name reused for argument");
+ compile_syntax_error(comp, pn, "argument name reused");
return;
}
id_info->kind = ID_INFO_KIND_LOCAL;