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 3e94823 commit 33f6abbCopy full SHA for 33f6abb
buildconfig/stubs/pygame/sprite.pyi
@@ -128,7 +128,7 @@ _TSprite2 = TypeVar("_TSprite2", bound=_SupportsSprite)
128
_TDirtySprite = TypeVar("_TDirtySprite", bound=_SupportsDirtySprite)
129
130
# typevar for sprite or iterable of sprites, used in Group init, add and remove
131
-_SpriteOrIterable = Union[_TSprite, Iterable[_SpriteOrIterable]]
+_SpriteOrIterable = Union[_TSprite, Iterable[_SpriteOrIterable[_TSprite]]]
132
133
class AbstractGroup(Generic[_TSprite]):
134
spritedict: dict[_TSprite, Optional[Union[FRect, Rect]]]
0 commit comments