diff --git a/buildconfig/stubs/pygame/_sdl2/controller.pyi b/buildconfig/stubs/pygame/_sdl2/controller.pyi index db9f45d889..b924986e91 100644 --- a/buildconfig/stubs/pygame/_sdl2/controller.pyi +++ b/buildconfig/stubs/pygame/_sdl2/controller.pyi @@ -31,4 +31,4 @@ class Controller: self, low_frequency: float, high_frequency: float, duration: int ) -> bool: ... def stop_rumble(self) -> None: ... - def set_led(self, color: ColorLike) -> bool: ... + def set_led(self, color: ColorLike, /) -> bool: ... diff --git a/buildconfig/stubs/pygame/joystick.pyi b/buildconfig/stubs/pygame/joystick.pyi index 90154bdd2c..4ebc8e80bd 100644 --- a/buildconfig/stubs/pygame/joystick.pyi +++ b/buildconfig/stubs/pygame/joystick.pyi @@ -32,7 +32,7 @@ class JoystickType: self, low_frequency: float, high_frequency: float, duration: int ) -> bool: ... def stop_rumble(self) -> None: ... - def set_led(self, color: ColorLike) -> bool: ... + def set_led(self, color: ColorLike, /) -> bool: ... # according to the current implementation, Joystick is a function that returns # a JoystickType instance. In the future, when the C implementation is fixed to