(func, args)
return args_keys
Inspects function for name of args
Inspects function for name of args
Inspects function for name of args
def _make_dict_from_args(func, args):
    """Inspects function for name of args"""
    args_keys = {}
    for i, arg in enumerate(inspect.getargspec(func)[0]):
        if arg != "self":
            args_keys[arg] = args[i]
    return args_keys
def _make_dict_from_args ( func , args ) : args_keys = { } for i , arg in enumerate ( inspect . getargspec ( func ) [ 0 ] ) : if arg != "self" : args_keys [ arg ] = args [ i ] return args_keys