Home
last modified time | relevance | path

Searched refs:Module_type (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
DPython-ast.c18 static PyTypeObject *Module_type; variable
677 Module_type = make_type("Module", mod_type, Module_fields, 1); in init_types()
678 if (!Module_type) return 0; in init_types()
2145 result = PyType_GenericNew(Module_type, NULL, NULL); in ast2obj_mod()
3330 isinstance = PyObject_IsInstance(obj, (PyObject*)Module_type); in obj2ast_mod()
6773 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) in init_ast()
6936 req_type[0] = (PyObject*)Module_type; in PyAST_obj2mod()
/external/python/cpython3/Python/
DPython-ast.c11 static PyTypeObject *Module_type; variable
846 Module_type = make_type("Module", mod_type, Module_fields, 1); in init_types()
847 if (!Module_type) return 0; in init_types()
2579 result = PyType_GenericNew(Module_type, NULL, NULL); in ast2obj_mod()
3953 isinstance = PyObject_IsInstance(obj, (PyObject*)Module_type); in obj2ast_mod()
8164 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) return in PyInit__ast()
8373 req_type[0] = (PyObject*)Module_type; in PyAST_obj2mod()