def reset(self):
        """
        Skip the next iteration and reset the timer.

        @since: 11.1
        """
        assert self.running, ("Tried to reset a LoopingCall that was "
                              "not running.")
        if self.call is not None:
            self.call.cancel()
            self.call = None
            self.starttime = self.clock.seconds()
            self._scheduleFrom(self.starttime)

        Skip the next iteration and reset the timer.

        @since: 11.1
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/task.py