Home
last modified time | relevance | path

Searched refs:mod_type (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/
H A Dpkgutil.py301 mod_type = self.etc[2]
302 if mod_type==imp.PY_SOURCE:
304 elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION):
322 mod_type = self.etc[2]
323 if mod_type==imp.PY_SOURCE:
326 elif mod_type==imp.PY_COMPILED:
332 elif mod_type==imp.PKG_DIRECTORY:
339 mod_type = self.etc[2]
340 if mod_type==imp.PY_SOURCE:
346 elif mod_type
[all...]
/third_party/python/Include/internal/
H A Dpycore_ast_state.h215 PyObject *mod_type; member
/third_party/python/Python/
H A DPython-ast.c228 Py_CLEAR(state->mod_type); in _PyAST_Fini()
1108 state->mod_type = make_type(state, "mod", state->AST_type, NULL, 0, in init_types()
1113 if (!state->mod_type) return 0; in init_types()
1114 if (!add_attributes(state, state->mod_type, NULL, 0)) return 0; in init_types()
1115 state->Module_type = make_type(state, "Module", state->mod_type, in init_types()
1119 state->Interactive_type = make_type(state, "Interactive", state->mod_type, in init_types()
1123 state->Expression_type = make_type(state, "Expression", state->mod_type, in init_types()
1128 state->mod_type, FunctionType_fields, in init_types()
11923 if (PyModule_AddObjectRef(m, "mod", state->mod_type) < 0) { in astmodule_exec()

Completed in 15 milliseconds