diff --git a/buildconfig/stubs/pygame/geometry.pyi b/buildconfig/stubs/pygame/geometry.pyi index f7c1edf517..d21842a494 100644 --- a/buildconfig/stubs/pygame/geometry.pyi +++ b/buildconfig/stubs/pygame/geometry.pyi @@ -4,7 +4,6 @@ from typing import ( Callable, Protocol, Tuple, - Sequence, List, ) @@ -120,8 +119,8 @@ class Circle: @overload def colliderect(self, topleft: Point, size: Point, /) -> bool: ... def collideswith(self, other: _CanBeCollided, /) -> bool: ... - def collidelist(self, colliders: Sequence[_CanBeCollided], /) -> int: ... - def collidelistall(self, colliders: Sequence[_CanBeCollided], /) -> List[int]: ... + def collidelist(self, colliders: SequenceLike[_CanBeCollided], /) -> int: ... + def collidelistall(self, colliders: SequenceLike[_CanBeCollided], /) -> List[int]: ... def intersect(self, other: _CanBeIntersected, /) -> List[Tuple[float, float]]: ... def contains(self, shape: _CanBeCollided, /) -> bool: ... @overload