pybricks.robotics.DriveBase: Fix arg name in type hints.

This fixes the `speed` arg name in the `DriveBase.drive()` method in the type hint file. Fixes #76.
This commit is contained in:
David Lechner
2021-07-30 15:27:09 -05:00
committed by David Lechner
parent a8ab8b2314
commit 677656f669
+1 -1
View File
@@ -14,7 +14,7 @@ class DriveBase:
wheel_diameter: Union[int, float],
axle_track: Union[int, float],
): ...
def drive(self, drive_speed: int, turn_rate: int) -> None: ...
def drive(self, speed: int, turn_rate: int) -> None: ...
def stop(self) -> None: ...
def distance(self) -> int: ...
def angle(self) -> int: ...