Skip to content

Commit ac8c795

Browse files
committed
Fix __class_getitem__ to be positional-only
1 parent 74043a6 commit ac8c795

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, generic: Any, /) -> types.GenericAlias: ...
148148
def __init__(self) -> None: ...
149149
def __len__(self) -> int: ...
150150
def __iter__(self) -> Iterator[_TSprite]: ...

0 commit comments

Comments
 (0)