title: How to pass tuple as parameters of a function
body: <p>I have a tuple containing tuples. </p>
  
  <pre><code>EVENT_MAPPING = (
      (func1, (paramA1, paramA2, paramA3)),
      (func2, (paramB1)),
      (func3, (paramC1, paramC2)),
  )
  </code></pre>
  
  <p>I iterate over the first tuple. And I want to call the function contained in the first param with args in the second param plus other param. For example, for the first tuple :</p>
  
  <pre><code>func1(origin, paramA1, paramA2, paramA3)
  </code></pre>
  
  <p>If their is no the "origin" param, I can have a call thanks to :</p>
  
  <pre><code>args[0](args[1])
  </code></pre>
  
  <p>But with the extra param ("origin"), I can't do things like that.
  I found a way to do it but it is heavy :</p>
  
  <pre><code>call = tuple(list(args[1]).insert(0,origin))
  args[0](call)
  </code></pre>
  
  <p>Is there a better way to do this ?</p>
  
  <p>Thanks for your help</p>