Skip to content

Commit

Permalink
Fix stubs.
Browse files Browse the repository at this point in the history
  • Loading branch information
gresm committed Nov 7, 2024
1 parent 48c1991 commit ed33f48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildconfig/stubs/pygame/typing.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ RectLike = Union[
class EventLike(Protocol):
type: int

def __init__(self, dict: dict[str, Any] | None, **kwargs: Any) -> None: ...
def __init__(
self, dict: Optional[Dict[str, Any]] = None, **kwargs: Any
) -> None: ...

@property
def dict(self) -> Dict[str, Any]: ...
Expand Down

0 comments on commit ed33f48

Please sign in to comment.