def depart_title(self, node):
        spec, indent, attr = self.parse(node)
        if isinstance(node.parent, nodes.table):
            elem = tag.caption(**attr)
        else:
            assert 0 >= self.heading_level
            if self.heading_level == 0:
                self.heading_level = 1
            if 'href' in attr:
                # backref to toc entry
                # anchor = tag.a(href=("#" + attr['href']), class_="toc-backref")
                # self.context.commit_elem(anchor)
                # anchor = self.context.pop()
                # self.context.begin_elem()
                # self.context.append(anchor, indent=False)
                del attr['href']
            elem = getattr(tag, 'h' + unicode(self.heading_level))(**attr)
        self.context.commit_elem(elem, indent)
dataset/ETHPy150Open mgaitan/waliki/waliki/rst2html5.py/HTML5Translator.depart_title/swapped operands of `>=`