def __getitem__(self, item):
item2, single = convert_index_to_keys(self, item)<EOL>super_getitem = super(IndexDict, self).__getitem__<EOL>if single:<EOL><INDENT>return super_getitem(item2)<EOL><DEDENT>else:<EOL><INDENT>return map(super_getitem, item2)<EOL><DEDENT>
Get one or more items using flexible indexing.