def _html_class_str_from_tag(self, tag):
        """Get the appropriate ' class="..."' string (note the leading
        space), if any, for the given tag.
        """
        if "html-classes" not in self.extras:
            return ""
        try:
            html_classes_from_tag = self.extras["html-classes"]
        except TypeError:
            return ""
        else:
            if html_classes_from_tag in tag:
                return ' class="%s"' % html_classes_from_tag[tag]
        return ""
dataset/ETHPy150Open an0/Letterpress/code/markdown2/lib/markdown2.py/Markdown._html_class_str_from_tag/swapped operands of `in`