Skip to content

Commit 1c18a81

Browse files
committed
removed duplicated Group TypeVar definition
1 parent 4128589 commit 1c18a81

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

buildconfig/stubs/pygame/sprite.pyi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ class DirtySprite(Sprite[_TGroup], _SupportsDirtySprite[_TGroup]):
117117
def _set_visible(self, val: int) -> None: ...
118118
def _get_visible(self) -> int: ...
119119

120-
# used as a workaround for typing.Self because it is added in python 3.11
121-
_TGroup = TypeVar("_TGroup", bound=AbstractGroup)
122-
123120
# typevar bound to Sprite, _SupportsSprite Protocol ensures sprite
124121
# subclass passed to group has image and rect attributes
125122
_TSprite = TypeVar("_TSprite", bound=_SupportsSprite)

0 commit comments

Comments
 (0)