Lines Matching refs:index
172 return type_error("sequence index must "
226 type_error("sequence index must be "
260 type_error("sequence index must be "
495 _Py_add_one_to_index_F(int nd, Py_ssize_t *index, const Py_ssize_t *shape)
500 if (index[k] < shape[k]-1) {
501 index[k]++;
505 index[k] = 0;
511 _Py_add_one_to_index_C(int nd, Py_ssize_t *index, const Py_ssize_t *shape)
516 if (index[k] < shape[k]-1) {
517 index[k]++;
521 index[k] = 0;
1405 or if the object cannot be interpreted as an index.
1452 or if the object cannot be interpreted as an index.
1507 "cannot fit '%.200s' into an index-sized integer",
1702 PyObject *index = _PyNumber_Index(n);
1703 if (!index)
1705 PyObject *res = _PyLong_Format(index, base);
1706 Py_DECREF(index);
2175 PY_ITERSEARCH_INDEX: 0-based index of first occurrence of obj in seq;
2227 "index exceeds C integer size");
2252 "sequence.index(x): x not in sequence");