def _delete_rows_from_model ( self, pos, num_rows ):
        raw_rows = [ self.raw_index_of( i )
                     for i in range( pos, pos + num_rows ) ]
        raw_rows.sort()
        raw_rows.reverse()
        items = self.__items()
        for row in raw_rows:
            del items[ row ]

        return num_rows

    #---------------------------------------------------------------------------
    #  Trait event handlers:
    #---------------------------------------------------------------------------
Deletes the specified rows from the model.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/table_model.py/TableModel._delete_rows_from_model