Searched refs:Arraytype (Results 1 – 1 of 1) sorted by relevance
/external/python/cpython2/Modules/ |
D | arraymodule.c | 39 static PyTypeObject Arraytype; variable 41 #define array_Check(op) PyObject_TypeCheck(op, &Arraytype) 42 #define array_CheckExact(op) (Py_TYPE(op) == &Arraytype) 620 np = (arrayobject *) newarrayobject(&Arraytype, ihigh - ilow, a->ob_descr); in array_slice() 661 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_concat() 690 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_repeat() 1710 return newarrayobject(&Arraytype, 0, self->ob_descr); in array_subscr() 1713 PyObject *result = newarrayobject(&Arraytype, in array_subscr() 1723 result = newarrayobject(&Arraytype, slicelength, self->ob_descr); in array_subscr() 1962 if (type == &Arraytype && !_PyArg_NoKeywords("array.array()", kwds)) in array_new() [all …]
|