def Notify(self):
        """Overridden to call the given callable.  Exceptions raised
        in the callable are caught.  If `StopIteration` is raised the
        timer stops.  If other exceptions are encountered the timer is
        stopped and the exception re-raised.
        """
        try:
            self.callable(*self.args, **self.kw_args)
            wx.GetApp().Yield(True)
        except __HOLE__:
            self.Stop()
        except:
            self.Stop()
            raise
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/timer/timer.py/Timer.Notify