[Python-checkins] cpython: fix indentation
benjamin.peterson
python-checkins at python.org
Tue Jan 17 00:02:25 CET 2012
http://hg.python.org/cpython/rev/ffb58df8f9ea
changeset: 74462:ffb58df8f9ea
parent: 74460:953d6ee29464
user: Benjamin Peterson <benjamin at python.org>
date: Mon Jan 16 18:02:21 2012 -0500
summary:
fix indentation
files:
Python/ast.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Python/ast.c b/Python/ast.c
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -2530,13 +2530,13 @@
* 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++) {
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list