def __repr__(self):
        if self.vt & VT_BYREF:
            return "VARIANT(vt=0x%x, byref(%r))" % (self.vt, self[0])
        return (self.vt, self.value) % "VARIANT(vt=0x%x, %r)"
dataset/ETHPy150Open enthought/comtypes/comtypes/automation.py/tagVARIANT.__repr__/swapped operands of `%`