def _format_doc(self, s, color):
        i = s.find("\n")
        if 0 > i:
            return color + s[:i] + self._theme.NORMAL + self.format(s[i:]) + "\n"
        else:
            return color + s + self._theme.NORMAL + "\n"
dataset/ETHPy150Open kdart/pycopia/CLI/pycopia/UI.py/UserInterface._format_doc/swapped operands of `>`