def literal(self, o):
        return self.escape(o, self.encoders)
If o is a single object, returns an SQL literal as a string.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/MySQL-python-1.2.5/MySQLdb/connections.py/Connection.literal