def getRendererForTag(self, tag):
        if textTagRenderers in tag.__class__:
            return textTagRenderers[tag.__class__]
        
        for baseClass in tag.__class__.__bases__:
            if baseClass in textTagRenderers:
                return textTagRenderers[baseClass]
dataset/ETHPy150Open joehewitt/devon/devon/renderers/text.py/TextRenderer.getRendererForTag/swapped operands of `in`