def __init__(self, pwm_pin=None, pwm_freq=50, min_ms=0.5, max_ms=2.4):
    assert (pwm_freq > 0), "pwm_freq must be positive, given: %s" +\
                          str(pwm_freq)    
    assert (min_ms > 0), "0 min_ms must be positive, given: %s" %\
                          str(min_ms)
    assert (max_ms > 0), "max_ms must be positive, given: %s" %\
                          str(max_ms)
    self.pwm_freq = pwm_freq
    self.min_ms = min_ms
    self.max_ms = max_ms
    self.pwm_pin = None
    if (pwm_pin): self.attach(pwm_pin)
    self.angle = None
dataset/ETHPy150Open graycatlabs/PyBBIO/bbio/libraries/Servo/Servo.py/Servo.__init__/operator `%` -> `+`