title: Python, assign function to variable, change optional argument's value
body: <p>Is it possible to assign a function to a variable with modified default arguments?</p>
  
  <p>To make it more concrete, I'll give an example.
  The following obviously doesn't work in the current form and is only meant to show what I need:</p>
  
  <pre><code>def power(a, pow=2):
      ret = 1
      for _ in range(pow):
          ret *= a
      return ret
  
  cube = power(pow=3)
  </code></pre>
  
  <p>And the result of <code>cube(5)</code> should be <code>125</code>.</p>