def module_enclosing_func(offset):
    """ Test function to see if module-level enclosures are detected """
    def module_closure_func(value):
        """ Actual closure function """
        return offset+value
    return module_closure_func