mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Issue #24619: More tests; fix nits in compiler.c
This commit is contained in:
parent
8fb307cd65
commit
b7666a3093
4 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue