def __getitem__(self, idx):
        try:
            i, j = idx
            return self.blocks[i][j]
        except TypeError:
            return self.blocks[idx]
Return :class:`Mat` block with row and column given by ``idx``
dataset/ETHPy150Open OP2/PyOP2/pyop2/petsc_base.py/Mat.__getitem__