Searched refs:DEF_LOCAL (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Include/ |
D | symtable.h | 64 #define DEF_LOCAL 2 /* assignment in code block */ macro 71 #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
|
/external/python/cpython2/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM, 205 return bool(self.__flags & DEF_LOCAL)
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 63 PyModule_AddIntConstant(m, "DEF_LOCAL", DEF_LOCAL); in init_symtable()
|
/external/python/cpython2/Demo/pdist/ |
D | rcvs.py | 43 DEF_LOCAL = 1 # Default -l variable 408 local = DEF_LOCAL
|
/external/python/cpython2/Python/ |
D | symtable.c | 1005 if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt() 1021 if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL)) in symtable_visit_stmt() 1146 if (cur & (DEF_LOCAL | USE)) { in symtable_visit_stmt() 1148 if (cur & DEF_LOCAL) in symtable_visit_stmt() 1281 e->v.Name.ctx == Load ? USE : DEF_LOCAL)) in symtable_visit_expr() 1490 if (!symtable_add_def(st, tmp, DEF_LOCAL)) in symtable_new_tmpname()
|