Skip to content

Commit d3d4085

Browse files
committed
Fixed encoded motor get_default comment
1 parent 6921350 commit d3d4085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XRPLib/encoded_motor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class EncodedMotor:
1515
def get_default_encoded_motor(cls, index:int = 1):
1616
"""
1717
Get one of the default XRP v2 motor instances. These are singletons, so only one instance of each of these will ever exist.
18-
Left Motor is the default, so if no index (or an invalid index) is specified, the left motor will be returned.
18+
Raises an exception if an invalid index is requested.
1919
2020
:param index: The index of the motor to get; 1 for left, 2 for right, 3 for motor 3, 4 for motor 4
2121
:type index: int

0 commit comments

Comments
 (0)