diff --git a/buildconfig/stubs/pygame/event.pyi b/buildconfig/stubs/pygame/event.pyi index 6af37638e1..b3c832bb03 100644 --- a/buildconfig/stubs/pygame/event.pyi +++ b/buildconfig/stubs/pygame/event.pyi @@ -29,7 +29,7 @@ class Event(_GenericEvent): pass @final -@deprecated("Use `Event` instead (this is an old alias)") +@deprecated("Use `Event` instead (EventType is an old alias)") class EventType(_GenericEvent): pass diff --git a/buildconfig/stubs/pygame/font.pyi b/buildconfig/stubs/pygame/font.pyi index 0a313920c7..efc72f0ae4 100644 --- a/buildconfig/stubs/pygame/font.pyi +++ b/buildconfig/stubs/pygame/font.pyi @@ -88,5 +88,5 @@ class Font: def get_point_size(self) -> int: ... def set_point_size(self, val: int, /) -> None: ... -@deprecated("Use `Font` instead (this is an old alias)") +@deprecated("Use `Font` instead (FontType is an old alias)") class FontType(Font): ... diff --git a/buildconfig/stubs/pygame/mask.pyi b/buildconfig/stubs/pygame/mask.pyi index 35763de6d7..0da8a2475f 100644 --- a/buildconfig/stubs/pygame/mask.pyi +++ b/buildconfig/stubs/pygame/mask.pyi @@ -55,5 +55,5 @@ class Mask: dest: Union[RectLike, Point] = (0, 0), ) -> Surface: ... -@deprecated("Use `Mask` instead (this is an old alias)") +@deprecated("Use `Mask` instead (MaskType is an old alias)") class MaskType(Mask): ... diff --git a/buildconfig/stubs/pygame/mixer.pyi b/buildconfig/stubs/pygame/mixer.pyi index 3bf929326f..198881789c 100644 --- a/buildconfig/stubs/pygame/mixer.pyi +++ b/buildconfig/stubs/pygame/mixer.pyi @@ -101,8 +101,8 @@ class Channel: def set_endevent(self, type: Union[int, Event] = 0, /) -> None: ... def get_endevent(self) -> int: ... -@deprecated("Use `Sound` instead (this is an old alias)") +@deprecated("Use `Sound` instead (SoundType is an old alias)") class SoundType(Sound): ... -@deprecated("Use `Channel` instead (this is an old alias)") +@deprecated("Use `Channel` instead (ChannelType is an old alias)") class ChannelType(Channel): ... diff --git a/buildconfig/stubs/pygame/rect.pyi b/buildconfig/stubs/pygame/rect.pyi index 9e0409e4c4..e8a49d5f31 100644 --- a/buildconfig/stubs/pygame/rect.pyi +++ b/buildconfig/stubs/pygame/rect.pyi @@ -277,8 +277,8 @@ class Rect(_GenericRect[int]): class FRect(_GenericRect[float]): ... -@deprecated("Use `Rect` instead (this is an old alias)") +@deprecated("Use `Rect` instead (RectType is an old alias)") class RectType(Rect): ... -@deprecated("Use `FRect` instead (this is an old alias)") +@deprecated("Use `FRect` instead (FRectType is an old alias)") class FRectType(FRect): ... diff --git a/buildconfig/stubs/pygame/surface.pyi b/buildconfig/stubs/pygame/surface.pyi index 030e27904b..b439d479e1 100644 --- a/buildconfig/stubs/pygame/surface.pyi +++ b/buildconfig/stubs/pygame/surface.pyi @@ -168,5 +168,5 @@ class Surface: def premul_alpha(self) -> Surface: ... def premul_alpha_ip(self) -> Surface: ... -@deprecated("Use `Surface` instead (this is an old alias)") +@deprecated("Use `Surface` instead (SurfaceType is an old alias)") class SurfaceType(Surface): ...