summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-07-22 11:48:57 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-07-22 11:48:57 (GMT)
commitb7666a30933efbbb2e400e6916bba2311340fcd1 (patch)
treecee7b9199e082b014a9cbcbe749aa86591cad829 /Python/symtable.c
parent8fb307cd650511ba019c4493275cb6684ad308bc (diff)
downloadcpython-b7666a30933efbbb2e400e6916bba2311340fcd1.zip
cpython-b7666a30933efbbb2e400e6916bba2311340fcd1.tar.gz
cpython-b7666a30933efbbb2e400e6916bba2311340fcd1.tar.bz2
Issue #24619: More tests; fix nits in compiler.c
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index 354b799..64910d8 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;
}