Home
last modified time | relevance | path

Searched refs:type_error (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Objects/
Dabstract.c14 type_error(const char *msg, PyObject *obj) in type_error() function
169 return type_error("sequence index must " in PyObject_GetItem()
187 return type_error("'%.200s' object is not subscriptable", o); in PyObject_GetItem()
212 type_error("sequence index must be " in PyObject_SetItem()
218 type_error("'%.200s' object does not support item assignment", o); in PyObject_SetItem()
244 type_error("sequence index must be " in PyObject_DelItem()
250 type_error("'%.200s' object does not support item deletion", o); in PyObject_DelItem()
979 return type_error("can't multiply sequence by " in sequence_repeat()
1199 return type_error("bad operand type for unary -: '%.200s'", o); in PyNumber_Negative()
1215 return type_error("bad operand type for unary +: '%.200s'", o); in PyNumber_Positive()
[all …]
/external/python/cpython2/Objects/
Dabstract.c15 type_error(const char *msg, PyObject *obj) in type_error() function
155 return type_error("sequence index must " in PyObject_GetItem()
159 return type_error("'%.200s' object has no attribute '__getitem__'", o); in PyObject_GetItem()
184 type_error("sequence index must be " in PyObject_SetItem()
190 type_error("'%.200s' object does not support item assignment", o); in PyObject_SetItem()
216 type_error("sequence index must be " in PyObject_DelItem()
222 type_error("'%.200s' object does not support item deletion", o); in PyObject_DelItem()
1207 return type_error("can't multiply sequence by "
1421 return type_error("bad operand type for unary -: '%.200s'", o);
1435 return type_error("bad operand type for unary +: '%.200s'", o);
[all …]
/external/python/cpython3/Modules/
D_testbuffer.c1839 goto type_error; in ndarray_subscript()
1845 goto type_error; in ndarray_subscript()
1854 type_error: in ndarray_subscript()
/external/v8/src/heap/
Dfactory.cc2264 DEFINE_ERROR(TypeError, type_error) in DEFINE_ERROR()
/external/v8/src/
Dapi.cc9073 DEFINE_ERROR(TypeError, type_error) in DEFINE_ERROR()