diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-10-07 10:04:49 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-10-07 10:04:49 +0000 |
commit | 9b15007bbc659ded34d8148f287e4b0e956d05a5 (patch) | |
tree | a8fb30a66c8cf195b57cf3f28c865ca939240e64 /Python/symtable.c | |
parent | 720e5857ecdfa70c1eb719356bcf78f0e7241d0e (diff) | |
parent | 8e6981db176bca1bcf60770405ee1de6f0bc4278 (diff) | |
download | cpython-9b15007bbc659ded34d8148f287e4b0e956d05a5.tar.gz |
Issue #25286: Merge dictionary view glossary from 3.5
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 8 |
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: |