def trace(f, *args, **kwargs):
	''' Decorator used to trace function calls for debugging purposes. '''

	print 'Calling %s() with args %s, %s ' % (f.__name__, args, kwargs)
	return f(*args,**kwargs)
def trace ( f , * args , ** kwargs ) : print 'Calling %s() with args %s, %s ' % ( f . __name__ , args , kwargs ) return f ( * args , ** kwargs )
Decorator used to trace function calls for debugging purposes.