title: Python function argument *x, what does it mean?
body: <p>I've seen lambda functions, with an argument of <code>*x</code>. Is it a way you put in a list or a tuple, if it is a tuple how would you put a list as an argument parameter and vice versa.</p>
  
  <p>If you could link me to some documentation, I would be grateful.</p>
  
  <p>The lambda function in question:</p>
  
  <pre><code>import os
  add_to_place = lambda *x : os.path.abspath(os.path.join(os.path.dirname(__file__), *x))
  </code></pre>
  
  <p>Thanks in advance. I've deduced that it is a tuple, but I'd like some documentation, just to be sure.</p>