Skip to content

Commit 58802ba

Browse files
committed
Add type for actuation_range
1 parent adea568 commit 58802ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adafruit_motor/servo.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ def __init__(
113113
) -> None:
114114
super().__init__(pwm_out, min_pulse=min_pulse, max_pulse=max_pulse)
115115
self.actuation_range = actuation_range
116-
"""The physical range of motion of the servo in degrees."""
116+
"""The physical range of motion of the servo in degrees.
117+
118+
:type: float
119+
"""
117120
self._pwm = pwm_out
118121

119122
@property

0 commit comments

Comments
 (0)