We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4128589 commit 1c18a81Copy full SHA for 1c18a81
buildconfig/stubs/pygame/sprite.pyi
@@ -117,9 +117,6 @@ class DirtySprite(Sprite[_TGroup], _SupportsDirtySprite[_TGroup]):
117
def _set_visible(self, val: int) -> None: ...
118
def _get_visible(self) -> int: ...
119
120
-# used as a workaround for typing.Self because it is added in python 3.11
121
-_TGroup = TypeVar("_TGroup", bound=AbstractGroup)
122
-
123
# typevar bound to Sprite, _SupportsSprite Protocol ensures sprite
124
# subclass passed to group has image and rect attributes
125
_TSprite = TypeVar("_TSprite", bound=_SupportsSprite)
0 commit comments