def Notify(self):
        """ 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.  Note that the name of this method is part of the API
        because some code expects this to be a wx.Timer sub-class.
        """
        try:
            self.callable(*self.args, **self.kw_args)
        except __HOLE__:
            self.stop()
        except:
            self.stop()
            raise
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/timer/timer.py/Timer.Notify