Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c315 static PyTypeObject *Mod_type; variable
855 Mod_type = make_type("Mod", operator_type, NULL, 0); in init_types()
856 if (!Mod_type) return 0; in init_types()
857 Mod_singleton = PyType_GenericNew(Mod_type, NULL, NULL); in init_types()
6193 isinstance = PyObject_IsInstance(obj, (PyObject *)Mod_type); in obj2ast_operator()
6877 if (PyDict_SetItemString(d, "Mod", (PyObject*)Mod_type) < 0) return; in init_ast()
/external/python/cpython3/Python/
DPython-ast.c404 static PyTypeObject *Mod_type; variable
1046 Mod_type = make_type("Mod", operator_type, NULL, 0); in init_types()
1047 if (!Mod_type) return 0; in init_types()
1048 Mod_singleton = PyType_GenericNew(Mod_type, NULL, NULL); in init_types()
7394 isinstance = PyObject_IsInstance(obj, (PyObject *)Mod_type); in obj2ast_operator()
8303 if (PyDict_SetItemString(d, "Mod", (PyObject*)Mod_type) < 0) return NULL; in PyInit__ast()