def _stringify_title(self, title, options):

        lines = []
        lpad, rpad = self._get_padding_widths(options)
        if options["border"]:
            if options["vrules"] == ALL:
                options["vrules"] = FRAME
                lines.append(self._stringify_hrule(options))
                options["vrules"] = ALL
            elif options["vrules"] == FRAME:
                lines.append(self._stringify_hrule(options))
        bits = []
        endpoint = options["vertical_char"] if options["vrules"] in (ALL, FRAME) else " "
        bits.append(endpoint)
        title = " " * lpad + title + " " * rpad
        bits.append(self._justify(title, 2 - len(self._hrule), "c"))
        bits.append(endpoint)
        lines.append("".join(bits))
        return "\n".join(lines)
dataset/ETHPy150Open kxxoling/PTable/prettytable/prettytable.py/PrettyTable._stringify_title/swapped operands of `-`