def __pyexpander_helper(*args, **kwargs):
    """a helper function needed at runtime.

    This evaluates named arguments.
    """
    if len(args) == 1:
        fn = args[0]
    elif len(args) > 1:
        raise ValueError('only one unnamed argument is allowed')
    else:
        fn = None
    return fn, kwargs
