environment/lib/python2.7/site-packages/IPython/lib/demo.py
def seek(self,index):
        """Move the current seek pointer to the given block.

        You can use negative indices to seek from the end, with identical
        semantics to those of Python lists."""
        if index<0:
            index = self.nblocks + index
        self._validate_index(index)
        self.block_index = index
        self.finished = False
def seek(self,index):
        if index<0:
            index = self.nblocks + index
        self._validate_index(index)
        self.block_index = index
        self.finished = False
def seek ( self , index ) : if index < 0 : index = self . nblocks + index self . _validate_index ( index ) self . block_index = index self . finished = False
Move the current seek pointer to the given block.

        You can use negative indices to seek from the end, with identical
        semantics to those of Python lists.
Move the current seek pointer to the given block .