Home
last modified time | relevance | path

Searched refs:DEF_GLOBAL (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Include/
Dsymtable.h86 #define DEF_GLOBAL 1 /* global stmt */ macro
103 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
/external/python/cpython2/Include/
Dsymtable.h63 #define DEF_GLOBAL 1 /* global stmt */ macro
/external/python/cpython3/Modules/
Dsymtablemodule.c86 PyModule_AddIntMacro(m, DEF_GLOBAL); in PyInit__symtable()
/external/python/cpython2/Modules/
Dsymtablemodule.c62 PyModule_AddIntConstant(m, "DEF_GLOBAL", DEF_GLOBAL); in init_symtable()
/external/python/cpython3/Python/
Dsymtable.c474 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/
Dsymtable.py4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM,
/external/python/cpython3/Lib/
Dsymtable.py4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM,
/external/python/cpython2/Python/
Dsymtable.c379 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()