def _getvalue(self, row, col):
        """
        Gets the text which is displayed at ``(row, col)``
        """
        try:
            value = self.table._displayattrs[col].value(self.table.items[row])
            (align, width, text) = ipipe.xformat(value, "cell", self.maxchars)
        except __HOLE__:
            raise IndexError
        except Exception as exc:
            (align, width, text) = ipipe.xformat(exc, "cell", self.maxchars)
        return text
dataset/ETHPy150Open ipython/ipython-py3k/IPython/deathrow/igrid.py/IGridGrid._getvalue