#NEWLINE# def _checkwindow( self , seekto , op ) : #NEWLINE# #INDENT# if ( not ( self . _start <= seekto <= self . _end ) ) : #NEWLINE# #INDENT# raise IOError ( ( '%s to offset %d is outside window [%d, %d]' % ( op , self , self . _start , self . _end ) ) )