get mulitple items via index of int, slice or list

def mget_list(item, index):
    'get mulitple items via index of int, slice or list'
    if isinstance(index, (int, slice)):
        return item[index]
    else:
        return map(item.__getitem__, index)