Searched refs:PyRange_Type (Results 1 – 8 of 8) sorted by relevance
21 PyAPI_DATA(PyTypeObject) PyRange_Type;23 #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type)
73 obj = PyObject_New(rangeobject, &PyRange_Type); in range_new()160 PyTypeObject PyRange_Type = { variable
2103 if (PyType_Ready(&PyRange_Type) < 0) in _Py_ReadyTypes()
97 obj = PyObject_New(rangeobject, &PyRange_Type); in range_new()185 PyTypeObject PyRange_Type = { variable
2110 if (PyType_Ready(&PyRange_Type) < 0) in _Py_ReadyTypes()
2727 SETBUILTIN("xrange", &PyRange_Type); in _PyBuiltin_Init()
2716 SETBUILTIN("xrange", &PyRange_Type); in _PyBuiltin_Init()