title: What does list.index() with multiple arguments do in Python 2.x?
body: <p>I can't say for certain that this is the fastest way:</p>
  
  <pre><code>i = -1
  for j in xrange(n):
      i = x.index(True, i + 1)
  </code></pre>
  
  <p><code>x</code> : list of Booleans here</p>
  
  <p><code>n</code> : number of occurrences</p>
  
  <p><code>True</code> : element searched</p>
  
  <p>In the above code, what does <code>i = x.index(True, i + 1)</code> do exactly? </p>
  
  <p>Precisely, what is the role of the second parameter <code>i + 1</code>? </p>
  
  <p>I couldn't find any example with multiple parameters on <code>list.index()</code>.</p>
  
  <p><strong>Edit:</strong> I'm working with Python 2.7</p>