def present(self, value):
        """Return a user-friendly representation of a value.
        
        Lookup value in self.specials, or call .to_literal() if absent.
        """
        for k, v in self.special.items():
            if v == value:
                return k
        return self.to_literal(value, *self.args, **self.kw)
def present(self, value):
        """Return a user-friendly representation of a value.
        
        Lookup value in self.specials, or call .to_literal() if absent.
        """
        for k, v in self.special.items():
            if v == value:
                return k
        return self.to_literal(value, *self.args, **self.kw)
Return a user-friendly representation of a value.
        
        Lookup value in self.specials, or call .to_literal() if absent.