(self)
return time_factor
Returns a formatted string containing the time factor.
Returns a formatted string containing the time factor.
Returns a formatted string containing the time factor .
def __str__(self):
    """Returns a formatted string containing the time factor."""
    if self._real_time_multiplier >= 1.0:
      time_factor = '%d' % self._real_time_multiplier
    else:
      time_factor = '1/%d' % (1.0 // self._real_time_multiplier)
    return time_factor
def __str__ ( self ) : if self . _real_time_multiplier >= 1.0 : time_factor = '%d' % self . _real_time_multiplier else : time_factor = '1/%d' % ( 1.0 // self . _real_time_multiplier ) return time_factor