diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-07-22 14:48:57 +0300 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-07-22 14:48:57 +0300 |
commit | b7666a30933efbbb2e400e6916bba2311340fcd1 (patch) | |
tree | cee7b9199e082b014a9cbcbe749aa86591cad829 /Python/symtable.c | |
parent | 8fb307cd650511ba019c4493275cb6684ad308bc (diff) | |
download | cpython-git-b7666a30933efbbb2e400e6916bba2311340fcd1.tar.gz |
Issue #24619: More tests; fix nits in compiler.c
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index 354b799678..64910d8a55 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -1542,7 +1542,7 @@ symtable_visit_annotations(struct symtable *st, stmt_ty s, if (a->kwonlyargs && !symtable_visit_argannotations(st, a->kwonlyargs)) return 0; if (returns) - VISIT(st, expr, s->v.FunctionDef.returns); + VISIT(st, expr, returns); return 1; } |