Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(250030)

Delta Between Two Patch Sets: Python/symtable.c

Issue 11682: PEP 380 reference implementation for 3.3
Left Patch Set: Created 7 years, 7 months ago
Right Patch Set: Created 7 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« Objects/exceptions.c ('K') | « Python/Python-ast.c ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #include "Python.h" 1 #include "Python.h"
2 #include "Python-ast.h" 2 #include "Python-ast.h"
3 #include "code.h" 3 #include "code.h"
4 #include "symtable.h" 4 #include "symtable.h"
5 #include "structmember.h" 5 #include "structmember.h"
6 6
7 /* error strings used for warnings */ 7 /* error strings used for warnings */
8 #define GLOBAL_AFTER_ASSIGN \ 8 #define GLOBAL_AFTER_ASSIGN \
9 "name '%.400s' is assigned to before global declaration" 9 "name '%.400s' is assigned to before global declaration"
10 10
(...skipping 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after
1643 } 1643 }
1644 1644
1645 static int 1645 static int
1646 symtable_visit_dictcomp(struct symtable *st, expr_ty e) 1646 symtable_visit_dictcomp(struct symtable *st, expr_ty e)
1647 { 1647 {
1648 return symtable_handle_comprehension(st, e, GET_IDENTIFIER(dictcomp), 1648 return symtable_handle_comprehension(st, e, GET_IDENTIFIER(dictcomp),
1649 e->v.DictComp.generators, 1649 e->v.DictComp.generators,
1650 e->v.DictComp.key, 1650 e->v.DictComp.key,
1651 e->v.DictComp.value); 1651 e->v.DictComp.value);
1652 } 1652 }
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+