diff --git a/Python/ast.c b/Python/ast.c index e2092f0f85433e95cc690b03cc5399b448f61d81..70db6558ee265f0555ff9c20a821e5f91edd271a 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2841,7 +2841,7 @@ ast_for_call(struct compiling *c, const node *n, expr_ty func, bool allowgen) } else if (e->kind != Name_kind) { ast_error(c, chch, - "keyword can't be an expression"); + "keyword argument can't be an expression"); return NULL; } else if (forbidden_name(c, e->v.Name.id, ch, 1)) {