@classmethod
    def _item_style_class_invalidated(cls, item):
        styles = cls._item_styles.pop(item, None)
        if styles is not None:
            style_items = cls._style_items
            for style in styles:
                if style_items in style:
                    style_items[style].discard(item)
        cls._request_restyle((item,))
dataset/ETHPy150Open nucleic/enaml/enaml/styling.py/StyleCache._item_style_class_invalidated/swapped operands of `in`