title: Python - filter(lambda) list of tuples index error
body: <p>I'm trying to filter a tuple as follows...some code not included for brevity:</p>
  
  <pre><code>    1) print &gt;&gt; sys.stderr, "audio", audio
      2) print &gt;&gt; sys.stderr, "audio[0]", audio[0]
      3) print &gt;&gt; sys.stderr, "audio[1]", audio[1]
      4) audio_lang = filter(lambda a: a[1]==LANG, audio)
  </code></pre>
  
  <p>It is being passed a tuple with 2 elements, the run is as follows:</p>
  
  <pre><code> D:\Staging\Test&gt;cleanMKV.py .
   audio [('fre',), ('eng',)]
   audio[0] ('fre',)
   audio[1] ('eng',)
   Traceback (most recent call last):
   File "D:\Staging\Test\cleanMKV.py",
   audio_lang = filter(lambda a: a[1]
   File "D:\Staging\Test\cleanMKV.py",
   audio_lang = filter(lambda a: a[1]
   IndexError: tuple index out of range
  </code></pre>
  
  <p>The tuple was created properly with RE and I'm at a point I want to filter as shown on line 4.  It is trying to reference the audio a[1] in audio.</p>
  
  <p>Any help appreciated.</p>