Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c312 static PyTypeObject *Sub_type; variable
843 Sub_type = make_type("Sub", operator_type, NULL, 0); in init_types()
844 if (!Sub_type) return 0; in init_types()
845 Sub_singleton = PyType_GenericNew(Sub_type, NULL, NULL); in init_types()
6169 isinstance = PyObject_IsInstance(obj, (PyObject *)Sub_type); in obj2ast_operator()
6874 if (PyDict_SetItemString(d, "Sub", (PyObject*)Sub_type) < 0) return; in init_ast()
/external/python/cpython3/Python/
DPython-ast.c400 static PyTypeObject *Sub_type; variable
1030 Sub_type = make_type("Sub", operator_type, NULL, 0); in init_types()
1031 if (!Sub_type) return 0; in init_types()
1032 Sub_singleton = PyType_GenericNew(Sub_type, NULL, NULL); in init_types()
7362 isinstance = PyObject_IsInstance(obj, (PyObject *)Sub_type); in obj2ast_operator()
8298 if (PyDict_SetItemString(d, "Sub", (PyObject*)Sub_type) < 0) return NULL; in PyInit__ast()