Searched refs:DEF_GLOBAL (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Include/ |
D | symtable.h | 86 #define DEF_GLOBAL 1 /* global stmt */ macro 103 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
|
/external/python/cpython2/Include/ |
D | symtable.h | 63 #define DEF_GLOBAL 1 /* global stmt */ macro
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 86 PyModule_AddIntMacro(m, DEF_GLOBAL); in PyInit__symtable()
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 62 PyModule_AddIntConstant(m, "DEF_GLOBAL", DEF_GLOBAL); in init_symtable()
|
/external/python/cpython3/Python/ |
D | symtable.c | 474 if (flags & DEF_GLOBAL) { in analyze_name() 645 PyLong_AS_LONG(v) & (DEF_BOUND | DEF_GLOBAL)) { in update_symbols() 1015 } else if (flag & DEF_GLOBAL) { in symtable_add_def() 1179 if ((cur & (DEF_GLOBAL | DEF_NONLOCAL)) in symtable_visit_stmt() 1182 cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT, in symtable_visit_stmt() 1284 if (!symtable_add_def(st, name, DEF_GLOBAL)) in symtable_visit_stmt()
|
/external/python/cpython2/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM,
|
/external/python/cpython3/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM,
|
/external/python/cpython2/Python/ |
D | symtable.c | 379 if (flags & DEF_GLOBAL) { in analyze_name() 570 PyInt_AS_LONG(o) & (DEF_BOUND | DEF_GLOBAL)) { in update_symbols() 920 } else if (flag & DEF_GLOBAL) { in symtable_add_def() 1165 if (!symtable_add_def(st, name, DEF_GLOBAL)) in symtable_visit_stmt()
|