def _delete_rows(self, pos, num_rows):

        if pos + num_rows >= self.get_row_count():
            num_rows = self.get_rows_count() - pos

        del self.data[pos, pos + num_rows]

        return num_rows

    ###########################################################################
    # private interface.
    ###########################################################################
Start threads for an IOHandler.
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/grid/simple_grid_model.py/SimpleGridModel._delete_rows--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/mainloop/threads.py/ThreadPool._run_io_threads