Skip to content

Commit b004460

Browse files
authored
Merge pull request #3524 from aatle/stubtest-set_led
Fix local stubtest for `set_led()`
2 parents 501a59e + 78df4ed commit b004460

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildconfig/stubs/pygame/_sdl2/controller.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ class Controller:
3131
self, low_frequency: float, high_frequency: float, duration: int
3232
) -> bool: ...
3333
def stop_rumble(self) -> None: ...
34-
def set_led(self, color: ColorLike) -> bool: ...
34+
def set_led(self, color: ColorLike, /) -> bool: ...

buildconfig/stubs/pygame/joystick.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class JoystickType:
3232
self, low_frequency: float, high_frequency: float, duration: int
3333
) -> bool: ...
3434
def stop_rumble(self) -> None: ...
35-
def set_led(self, color: ColorLike) -> bool: ...
35+
def set_led(self, color: ColorLike, /) -> bool: ...
3636

3737
# according to the current implementation, Joystick is a function that returns
3838
# a JoystickType instance. In the future, when the C implementation is fixed to

0 commit comments

Comments
 (0)