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