mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
fix indentation
This commit is contained in:
parent
c8909ddd28
commit
c64ae92bf1
1 changed files with 5 additions and 5 deletions
10
Python/ast.c
10
Python/ast.c
|
@ -2530,13 +2530,13 @@ ast_for_call(struct compiling *c, const node *n, expr_ty func)
|
||||||
* then is very confusing.
|
* then is very confusing.
|
||||||
*/
|
*/
|
||||||
if (e->kind == Lambda_kind) {
|
if (e->kind == Lambda_kind) {
|
||||||
ast_error(CHILD(ch, 0), "lambda cannot contain assignment");
|
ast_error(CHILD(ch, 0), "lambda cannot contain assignment");
|
||||||
return NULL;
|
return NULL;
|
||||||
} else if (e->kind != Name_kind) {
|
} else if (e->kind != Name_kind) {
|
||||||
ast_error(CHILD(ch, 0), "keyword can't be an expression");
|
ast_error(CHILD(ch, 0), "keyword can't be an expression");
|
||||||
return NULL;
|
return NULL;
|
||||||
} else if (forbidden_name(e->v.Name.id, ch, 1)) {
|
} else if (forbidden_name(e->v.Name.id, ch, 1)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
key = e->v.Name.id;
|
key = e->v.Name.id;
|
||||||
for (k = 0; k < nkeywords; k++) {
|
for (k = 0; k < nkeywords; k++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue