summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-01-16 23:02:21 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-01-16 23:02:21 (GMT)
commitc64ae92bf1348ccb591df29975b5c4f8c07efb6f (patch)
tree7969a52fcd231ee1d1962894191547df529b623b
parentc8909ddd28dbd540aca15607bdb87747c8e5f18a (diff)
downloadcpython-c64ae92bf1348ccb591df29975b5c4f8c07efb6f.zip
cpython-c64ae92bf1348ccb591df29975b5c4f8c07efb6f.tar.gz
cpython-c64ae92bf1348ccb591df29975b5c4f8c07efb6f.tar.bz2
fix indentation
-rw-r--r--Python/ast.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 55faf97..c565642 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++) {