def _multi_itemgetter(items):
    """Like operator.itemgetter, but the callable always returns
    a sequence of lookup values (regardless of items' length)
    see https://docs.python.org/2/library/operator.html#operator.itemgetter
    """
    return lambda obj: tuple(obj[item] for item in items)