title: Return function name in python?
body: <p>Doing a math function of the type <code>def</code>.</p>
  
  <pre><code>def integral_error(integral,f):
      ------stufff-------
      print integral
  </code></pre>
  
  <p>gives something like: <code>'&lt;function simpsons at 0xb7370a74&gt;'</code></p>
  
  <p>is there a way to get just simpsons without string manipulations? ie just the function name?</p>