python obtain variable name of argument in a function
<p>I want to do something like this:</p>

<pre><code>fib = 1
foo = (arg):
    print arg, argName # the name of the variable that was put in for arg
foo(fib)
</code></pre>

<p>And get this returned:</p>

<pre><code>1, fib
</code></pre>
