def reset(self, value=None):
    """
    Resets the start time of the interval to now or the specified value.
    """

    if value is None:
      value = time.clock()
    self.start = value
    if self.value_on_reset:
      self.value = self.value_on_reset
def reset ( self , value = None ) : if value is None : value = time . clock ( ) self . start = value if self . value_on_reset : self . value = self . value_on_reset
Resets the start time of the interval to now or the specified value.