def __getitem__(self, variable):
        """
        Return the expression to which 'variable' is bound
        """
        assert isinstance(variable, Variable)

        intermediate = self.d[variable]
        while intermediate:
            try:
                intermediate = self.d[intermediate]
            except __HOLE__:
                return intermediate
dataset/ETHPy150Open nltk/nltk/nltk/inference/resolution.py/BindingDict.__getitem__