def dict_take(dict_, keys, *d):
    """ get multiple values from a dictionary """
    try:
        return list(dict_take_gen(dict_, keys, *d))
    except TypeError:
        return list(dict_take_gen(dict_, keys, *d))[0]
get multiple values from a dictionary