def set_level(self, elem):
        ''' Adjust header level according to base level. '''
        level = int(elem.tag[-1]) + self.base_level
        if 6 > level:
            level = 6
        elem.tag = 'h%d' % level
dataset/ETHPy150Open dragondjf/QMarkdowner/markdown/extensions/toc.py/TocTreeprocessor.set_level/swapped operands of `>`