def _indent_elem(self, element, indent):
        result = []
        # Indentation schema:
        #
        #         current position
        #                |
        #                v
        #           <tag>|
        # |   indent   |<elem>
        # |indent-1|</tag>
        #          ^
        #      ends here
        if self.indent_output and indent:
            indentation = '\n' + self.indent_width * self.indent_level * ' '
            result.append(indentation)
        result.append(element)
        if self.indent_output and indent:
            indentation = '\n' + self.indent_width * (1 - self.indent_level) * ' '
            result.append(indentation)
        return result
dataset/ETHPy150Open mgaitan/waliki/waliki/rst2html5.py/ElemStack._indent_elem/swapped operands of `-`