title: How to ignore unpacked parts of a tuple as argument of a lambda?
body: <p>In Python, by convention, the underscore (<code>_</code>) is often used to throw away parts of an unpacked tuple, like so</p>
  
  <pre><code>&gt;&gt;&gt; tup = (1,2,3)
  &gt;&gt;&gt; meaningfulVariableName,_,_ = tup
  &gt;&gt;&gt; meaningfulVariableName
  1
  </code></pre>
  
  <p>I'm trying to do the same for a tuple argument of a lambda. It seems unfair that it can only be done with 2-tuples...</p>
  
  <pre><code>&gt;&gt;&gt; map(lambda (meaningfulVariableName,_): meaningfulVariableName*2, [(1,10), (2,20), (3,30)]) # This is fine
  [2, 4, 6]
  
  &gt;&gt;&gt; map(lambda (meaningfulVariableName,_,_): meaningfulVariableName*2, [(1,10,100), (2,20,200), (3,30,300)]) # But I need this!
  SyntaxError: duplicate argument '_' in function definition (&lt;pyshell#24&gt;, line 1)
  </code></pre>
  
  <p>Any ideas why, and what the best way to achieve this is?</p>