def _format_function(func_name):
    """Provide better context for a "function" of the caller.
    """
    if func_name is None:
        return ''
    elif func_name == '<module>':
        return ' (top level stmt)'
    else:
        return ' in ' + func_name
