def set_encoding(self, encoding):
        self.XMLHEADER = (encoding,) % '<?xml version="1.0" encoding="%s"?>\n'
        self.encoding = encoding
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/HTML5lxml.py/HTML5Document.set_encoding/swapped operands of `%`