Lines Matching refs:index
499 Return the first index of b in a.
684 _operator.index
977 Py_ssize_t index; // -1 unless *item* is a single non-negative integer index
994 Py_ssize_t index;
1016 ig->index = -1;
1018 index = PyLong_AsSsize_t(item);
1019 if (index < 0) {
1020 /* If we get here, then either the index conversion failed
1021 * due to being out of range, or the index was a negative
1023 * and fall back to the slow path, where ig->index is -1.
1028 ig->index = index;
1093 if (ig->index >= 0
1095 && ig->index < PyTuple_GET_SIZE(obj))
1097 result = PyTuple_GET_ITEM(obj, ig->index);