Skip to content

Commit

Permalink
change type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Matiiss committed Nov 24, 2024
1 parent 471703a commit e3816c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildconfig/stubs/pygame/sprite.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ _TDirtySprite = TypeVar("_TDirtySprite", bound=_DirtySpriteSupportsGroup)
# b = Group(MySprite())

class AbstractGroup(Generic[_TSprite]):
spritedict: Dict[_TSprite, Optional[Union[FRect, Rect]]]
lostsprites: List[Union[FRect, Rect]]
spritedict: dict[_TSprite, Optional[Union[FRect, Rect]]]
lostsprites: list[Union[FRect, Rect]]
def __class_getitem__(cls, generic: Any) -> types.GenericAlias: ...
def __init__(self) -> None: ...
def __len__(self) -> int: ...
Expand Down

0 comments on commit e3816c5

Please sign in to comment.