def set(self, trait_change_notify=True, **traits):
        """ Same as HasTraits.set except that notification is forced,
        unless trait_change_notify==False"""
        HasPrivateTraits.set(self, trait_change_notify=trait_change_notify,
                                    **traits)
        if trait_change_notify == False:
            return
        for trait in traits:
            callback = getattr(self, trait % '_%s_changed')
            value = getattr(self, trait)
            try:
                if callback is not None:
                    callback()
                self._anytrait_changed(trait, value)
            except TraitError:
                if value is None:
                    # This means "default"
                    pass
                else:
                    raise
dataset/ETHPy150Open enthought/mayavi/mayavi/tools/pipe_base.py/PipeFactory.set/swapped operands of `%`