Skip to content

Commit

Permalink
Moving Event() to python - bugfix 5.
Browse files Browse the repository at this point in the history
  • Loading branch information
gresm committed Jul 19, 2024
1 parent 771e13c commit fac612a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src_py/event.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from pygame._event import * # pylint: disable=wildcard-import; lgtm[py/polluting-import]
from pygame._event import * # pylint: disable=wildcard-import,unused-wildcard-import; lgtm[py/polluting-import]
from pygame._event import _internal_mod_init as _init, _internal_mod_quit as _quit
from pygame.constants import USEREVENT, NUMEVENTS
from pygame.base import error
Expand Down Expand Up @@ -156,7 +156,7 @@ def __getattribute__(self, name):

def __setattr__(self, name, value):
if name in ("_type", "_dict", "type", "dict"):
return super().__setattr__(name, value)
super().__setattr__(name, value)
self._dict[name] = value


Expand Down

0 comments on commit fac612a

Please sign in to comment.