Get a handful of items from an iterable.

    This is just map(itemgetter(...), iterable) with a list comprehension.

def itemgetters(*args):
    """
    Get a handful of items from an iterable.

    This is just map(itemgetter(...), iterable) with a list comprehension.
    """

    f = itemgetter(*args)

    def inner(l):
        return [f(x) for x in l]

    return inner