Skip to content

Commit dd698a7

Browse files
committed
remove 3.8 compat
1 parent 5d8e11a commit dd698a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildconfig/stubs/pygame/sprite.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import typing
1+
import types
22
from typing import (
33
Any,
44
Callable,
@@ -150,7 +150,7 @@ _TDirtySprite = TypeVar("_TDirtySprite", bound=_DirtySpriteSupportsGroup)
150150
class AbstractGroup(Generic[_TSprite]):
151151
spritedict: Dict[_TSprite, Optional[Union[FRect, Rect]]]
152152
lostsprites: List[Union[FRect, Rect]]
153-
def __class_getitem__(cls, generic: Any) -> typing._GenericAlias: ... # type: ignore[name-defined]
153+
def __class_getitem__(cls, generic: Any) -> types.GenericAlias: ...
154154
def __init__(self) -> None: ...
155155
def __len__(self) -> int: ...
156156
def __iter__(self) -> Iterator[_TSprite]: ...

0 commit comments

Comments
 (0)