We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7896a55 commit 763aa7eCopy full SHA for 763aa7e
buildconfig/stubs/pygame/sprite.pyi
@@ -43,10 +43,6 @@ class _HasImageAndRect(_HasRect, Protocol):
43
class _HasMaskAndRect(_HasRect, Protocol):
44
mask: Mask
45
46
-# radius in addition to rect
47
-class _HasRadiusAndRect(_HasRect, Protocol):
48
- radius: float
49
-
50
# non-generic Group, used in Sprite
51
_Group = AbstractGroup[Any]
52
@@ -220,7 +216,7 @@ class collide_rect_ratio:
220
216
def __call__(self, left: _HasRect, right: _HasRect) -> bool: ...
221
217
222
218
# must have rect attribute, may optionally have radius attribute
223
-_SupportsCollideCircle = Union[_HasRect, _HasRadiusAndRect]
219
+_SupportsCollideCircle = _HasRect
224
225
def collide_circle(
226
left: _SupportsCollideCircle, right: _SupportsCollideCircle
0 commit comments