Searched refs:ModuleBlock (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Include/ |
D | symtable.h | 8 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
|
/external/python/cpython3/Include/ |
D | symtable.h | 14 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 72 PyModule_AddIntConstant(m, "TYPE_MODULE", ModuleBlock); in init_symtable()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 110 PyModule_AddIntConstant(m, "TYPE_MODULE", ModuleBlock); in PyInit__symtable()
|
/external/python/cpython3/Python/ |
D | symtable.c | 295 !symtable_enter_block(st, top, ModuleBlock, (void *)mod, 0, 0)) { in PySymtable_BuildObject() 991 if (block == ModuleBlock) in symtable_enter_block() 1481 if (ste->ste_type == ModuleBlock) { in symtable_extend_namedexpr_scope() 1812 if (st->st_cur->ste_type != ModuleBlock) { in symtable_visit_alias()
|
D | compile.c | 45 && (c->u->u_ste->ste_type == ModuleBlock))
|
/external/python/cpython2/Python/ |
D | symtable.c | 232 !symtable_enter_block(st, top, ModuleBlock, (void *)mod, 0)) { in PySymtable_Build() 859 if (block == ModuleBlock) in symtable_enter_block() 1429 if (st->st_cur->ste_type != ModuleBlock && in symtable_visit_alias()
|
D | compile.c | 3771 if (ste->ste_type != ModuleBlock) in compute_code_flags()
|