(self, pos)
Move record pointer to new position.
Move record pointer to new position.
Move record pointer to new position .
def _set_record_pos(self, pos):
        """Move record pointer to new position."""
        if pos is not None:
            # first record is number 1
            with safe_io():
                self._fhandle.seek((pos-1) * self.reclen)
            self._recpos = pos - 1
def _set_record_pos ( self , pos ) : if pos is not None : # first record is number 1 with safe_io ( ) : self . _fhandle . seek ( ( pos - 1 ) * self . reclen ) self . _recpos = pos - 1