Searched refs:Index_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 296 static PyTypeObject *Index_type; variable 823 Index_type = make_type("Index", slice_type, Index_fields, 1); in init_types() 824 if (!Index_type) return 0; in init_types() 3003 result = PyType_GenericNew(Index_type, NULL, NULL); in ast2obj_slice() 6092 isinstance = PyObject_IsInstance(obj, (PyObject*)Index_type); in obj2ast_slice() 6866 if (PyDict_SetItemString(d, "Index", (PyObject*)Index_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 384 static PyTypeObject *Index_type; variable 1010 Index_type = make_type("Index", slice_type, Index_fields, 1); in init_types() 1011 if (!Index_type) return 0; in init_types() 3547 result = PyType_GenericNew(Index_type, NULL, NULL); in ast2obj_slice() 7292 isinstance = PyObject_IsInstance(obj, (PyObject*)Index_type); in obj2ast_slice() 8289 if (PyDict_SetItemString(d, "Index", (PyObject*)Index_type) < 0) return in PyInit__ast()
|