diff options
| author | Benjamin Peterson <benjamin@python.org> | 2012-01-16 18:02:21 -0500 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2012-01-16 18:02:21 -0500 |
| commit | 9d143481fc77ab2f6355c58fa714da55e97467db (patch) | |
| tree | ad48d998cfe60b3e55b7e57e4d415bd9287c2f12 /Python/ast.c | |
| parent | 83f12dabf419e3cecad941805d87e465a4df2e47 (diff) | |
| download | cpython-9d143481fc77ab2f6355c58fa714da55e97467db.tar.gz | |
fix indentation
Diffstat (limited to 'Python/ast.c')
| -rw-r--r-- | Python/ast.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/ast.c b/Python/ast.c index 55faf97c4f..c56564279b 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2530,13 +2530,13 @@ ast_for_call(struct compiling *c, const node *n, expr_ty func) * then is very confusing. */ if (e->kind == Lambda_kind) { - ast_error(CHILD(ch, 0), "lambda cannot contain assignment"); - return NULL; + ast_error(CHILD(ch, 0), "lambda cannot contain assignment"); + return NULL; } else if (e->kind != Name_kind) { - ast_error(CHILD(ch, 0), "keyword can't be an expression"); - return NULL; + ast_error(CHILD(ch, 0), "keyword can't be an expression"); + return NULL; } else if (forbidden_name(e->v.Name.id, ch, 1)) { - return NULL; + return NULL; } key = e->v.Name.id; for (k = 0; k < nkeywords; k++) { |
