Lines Matching refs:index
201 ' to assign the assigned object to its item with that index. '
203 ' index is out of range, "IndexError" is raised (assignment to '
2178 'negative integer index *i* such that "x is y[i] or x == '
2180 'lower integer index raises the "IndexError" exception. (If '
2380 ' # index in the range\n'
6044 ' # index in the range\n'
6127 'number of index\n'
6132 '"\'[index]\'" does an index lookup using "__getitem__()".\n'
7668 'negative integer index *i* such that "x is y[i] or x == y[i]", and no\n'
7669 'lower integer index raises the "IndexError" exception. (If any other\n'
8179 ' Called to implement "operator.index()", and whenever '
8377 '| "x[index]", "x[index:index]", | '
8763 '"count()", "index()", "extend()", "insert()", "pop()", '
10716 '"count()", "index()", "extend()", "insert()", "pop()", '
11088 ' Called to implement "operator.index()", and whenever '
11488 ' Return the lowest index in the string where substring '
11515 ' the numeric index of a positional argument, or the name '
11572 'str.index(sub[, start[, end]])\n'
11880 ' Return the highest index in the string where substring '
12576 'sequence to the index so that, for example, "x[-1]" selects '
12582 'the item whose index is that value (counting from zero). '
13029 ' of a sequence. When the length of a sequence is *n*, the index '
13036 ' index *k* such that *i* "<=" *k* "<" *j*. When used as an\n'
13039 ' that the index set is renumbered so that it starts at 0.\n'
13043 ' parameter: "a[i:j:k]" selects all items of *a* with index *x* '
13172 'index\n'
13197 ' then they can be used interchangeably to index the same\n'
13873 ' gives the precise instruction (this is an index into the\n'
14068 '"1", "1.0", and "True") can be used interchangeably to index '
14700 '| "s.index(x[, i[, j]])" | index of the first occurrence of '
14702 '| | *x* in *s* (at or after index '
14704 '| | *i* and before index *j*) '
14725 'using an index. That index will continue to march forward (or\n'
14729 'encountered (or when the index drops below zero).\n'
14777 '3. If *i* or *j* is negative, the index is relative to the end '
14785 ' items with index *k* such that "i <= k < j". If *i* or *j* '
14795 ' sequence of items with index "x = i + n*k" such that "0 <= n '
14843 '8. "index" raises "ValueError" when *x* is not found in *s*. Not '
14851 ' using "s[i:j].index(x)", only without copying any data and '
14853 ' returned index being relative to the start of the sequence '
14957 '| | index given by *i* (same '
15185 'than access by index, "collections.namedtuple()" may be a more\n'
15286 'provide features such as containment tests, element index '
15299 '>>> r.index(10)\n'
15421 '| | index given by *i* '