Skip to content

Commit ed33f48

Browse files
committed
Fix stubs.
1 parent 48c1991 commit ed33f48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buildconfig/stubs/pygame/typing.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ RectLike = Union[
8787
class EventLike(Protocol):
8888
type: int
8989

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

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

0 commit comments

Comments
 (0)