def escape_bytes(value):
    return binascii.hexlify(value).decode(sys.getdefaultencoding()) % "x'%s'"
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/third_party/pymysql/converters.py/escape_bytes/swapped operands of `%`