Searched refs:DEF_GLOBAL (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Include/internal/ |
D | pycore_symtable.h | 94 #define DEF_GLOBAL 1 /* global stmt */ macro 112 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
|
/third_party/python/Python/ |
D | symtable.c | 512 if (flags & DEF_GLOBAL) { in analyze_name() 683 PyLong_AS_LONG(v) & (DEF_BOUND | DEF_GLOBAL)) { in update_symbols() 1070 if (val & (DEF_GLOBAL | DEF_NONLOCAL)) { in symtable_add_def_helper() 1092 } else if (flag & DEF_GLOBAL) { in symtable_add_def_helper() 1269 if ((cur & (DEF_GLOBAL | DEF_NONLOCAL)) in symtable_visit_stmt() 1273 cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT, in symtable_visit_stmt() 1386 if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) in symtable_visit_stmt() 1516 if (target_in_scope & DEF_GLOBAL) { in symtable_extend_namedexpr_scope() 1517 if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e))) in symtable_extend_namedexpr_scope() 1530 if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e))) in symtable_extend_namedexpr_scope() [all …]
|
/third_party/python/Modules/ |
D | symtablemodule.c | 80 if (PyModule_AddIntMacro(m, DEF_GLOBAL) < 0) return -1; in symtable_init_constants()
|
/third_party/python/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_NONLOCAL, DEF_LOCAL, DEF_PARAM,
|