Equivalent of __func__ (from C) in Python

I want to create some kind of debugging output for python and want to pass the functionname to another function for output. The only reasonable way I found to do so was: def foobar(): print 'he...