summaryrefslogtreecommitdiff
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-10-07 10:04:49 +0000
committerMartin Panter <vadmium+py@gmail.com>2015-10-07 10:04:49 +0000
commit9b15007bbc659ded34d8148f287e4b0e956d05a5 (patch)
treea8fb30a66c8cf195b57cf3f28c865ca939240e64 /Python/symtable.c
parent720e5857ecdfa70c1eb719356bcf78f0e7241d0e (diff)
parent8e6981db176bca1bcf60770405ee1de6f0bc4278 (diff)
downloadcpython-9b15007bbc659ded34d8148f287e4b0e956d05a5.tar.gz
Issue #25286: Merge dictionary view glossary from 3.5
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index 64910d8a55..8431d514f6 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -1439,6 +1439,14 @@ symtable_visit_expr(struct symtable *st, expr_ty e)
VISIT_SEQ(st, expr, e->v.Call.args);
VISIT_SEQ_WITH_NULL(st, keyword, e->v.Call.keywords);
break;
+ case FormattedValue_kind:
+ VISIT(st, expr, e->v.FormattedValue.value);
+ if (e->v.FormattedValue.format_spec)
+ VISIT(st, expr, e->v.FormattedValue.format_spec);
+ break;
+ case JoinedStr_kind:
+ VISIT_SEQ(st, expr, e->v.JoinedStr.values);
+ break;
case Num_kind:
case Str_kind:
case Bytes_kind: