def __getitem__(self, index):
if isinstance(index, slice):<EOL><INDENT>return SlicedView(self, index)<EOL><DEDENT>return self.sequence[self._getIndices()[index]]<EOL>
Compute the index in the underlying sequence of the given view index
and return the corresponding element.

@raise IndexError: If C{index} is out of bounds for the view.
@raise ValueError: If C{self.bounds} is out of bounds for
C{self.sequence}.