def tostring(self, encoding):
        """ quote the string if not encoded
            else encode and return """
        if self.kind == u('string'):
            if encoding is not None:
                return self.converted
            return '"%s"' % self.converted
        return self.converted
dataset/ETHPy150Open pydata/pandas/pandas/computation/pytables.py/TermValue.tostring/original