Add "global" in functions that just read

This commit is contained in:
rocky
2017-12-02 19:11:11 -05:00
parent ccd007355c
commit 7b15e54b7d
12 changed files with 32 additions and 7 deletions

View File

@@ -101,7 +101,6 @@ class Python27Parser(Python2Parser):
assert2 ::= assert_expr jmp_true LOAD_ASSERT expr CALL_FUNCTION_1 RAISE_VARARGS_1
for_block ::= return_stmts _come_from
del_stmt ::= expr expr DELETE_SLICE+1
withstmt ::= expr SETUP_WITH POP_TOP suite_stmts_opt
POP_BLOCK LOAD_CONST COME_FROM_WITH