diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ast_unparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast_unparse.c b/Python/ast_unparse.c index 443e712..d1e9d42 100644 --- a/Python/ast_unparse.c +++ b/Python/ast_unparse.c @@ -829,7 +829,7 @@ append_named_expr(_PyUnicodeWriter *writer, expr_ty e, int level) { APPEND_STR_IF(level > PR_TUPLE, "("); APPEND_EXPR(e->v.NamedExpr.target, PR_ATOM); - APPEND_STR(":="); + APPEND_STR(" := "); APPEND_EXPR(e->v.NamedExpr.value, PR_ATOM); APPEND_STR_IF(level > PR_TUPLE, ")"); return 0; |