Skip to content

Commit be3d05a

Browse files
authored
Merge pull request #3410 from pygame-community/ankith26-fix-class-getitem
2 parents d55c62d + e76176b commit be3d05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildconfig/stubs/pygame/sprite.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ _TDirtySprite = TypeVar("_TDirtySprite", bound=_DirtySpriteSupportsGroup)
144144
class AbstractGroup(Generic[_TSprite]):
145145
spritedict: dict[_TSprite, Optional[Union[FRect, Rect]]]
146146
lostsprites: list[Union[FRect, Rect]]
147-
def __class_getitem__(cls, generic: Any) -> types.GenericAlias: ...
147+
def __class_getitem__(cls, item: Any, /) -> types.GenericAlias: ...
148148
def __init__(self) -> None: ...
149149
def __len__(self) -> int: ...
150150
def __iter__(self) -> Iterator[_TSprite]: ...

0 commit comments

Comments
 (0)