Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c292 static PyTypeObject *ExtSlice_type; variable
821 ExtSlice_type = make_type("ExtSlice", slice_type, ExtSlice_fields, 1); in init_types()
822 if (!ExtSlice_type) return 0; in init_types()
2994 result = PyType_GenericNew(ExtSlice_type, NULL, NULL); in ast2obj_slice()
6052 isinstance = PyObject_IsInstance(obj, (PyObject*)ExtSlice_type); in obj2ast_slice()
6864 if (PyDict_SetItemString(d, "ExtSlice", (PyObject*)ExtSlice_type) < 0) in init_ast()
/external/python/cpython3/Python/
DPython-ast.c379 static PyTypeObject *ExtSlice_type; variable
1008 ExtSlice_type = make_type("ExtSlice", slice_type, ExtSlice_fields, 1); in init_types()
1009 if (!ExtSlice_type) return 0; in init_types()
3538 result = PyType_GenericNew(ExtSlice_type, NULL, NULL); in ast2obj_slice()
7251 isinstance = PyObject_IsInstance(obj, (PyObject*)ExtSlice_type); in obj2ast_slice()
8287 if (PyDict_SetItemString(d, "ExtSlice", (PyObject*)ExtSlice_type) < 0) in PyInit__ast()