Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dsymtable.h8 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
/external/python/cpython3/Include/
Dsymtable.h14 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
/external/python/cpython2/Modules/
Dsymtablemodule.c72 PyModule_AddIntConstant(m, "TYPE_MODULE", ModuleBlock); in init_symtable()
/external/python/cpython3/Modules/
Dsymtablemodule.c110 PyModule_AddIntConstant(m, "TYPE_MODULE", ModuleBlock); in PyInit__symtable()
/external/python/cpython3/Python/
Dsymtable.c295 !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()
Dcompile.c45 && (c->u->u_ste->ste_type == ModuleBlock))
/external/python/cpython2/Python/
Dsymtable.c232 !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()
Dcompile.c3771 if (ste->ste_type != ModuleBlock) in compute_code_flags()