Skip to content

Commit bfcec34

Browse files
committed
Type display.update() as taking floats
1 parent ee46e25 commit bfcec34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildconfig/stubs/pygame/display.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def update(
5151
rectangle: Optional[Union[RectLike, Iterable[Optional[RectLike]]]] = None, /
5252
) -> None: ...
5353
@overload
54-
def update(x: int, y: int, w: int, h: int, /) -> None: ...
54+
def update(x: float, y: float, w: float, h: float, /) -> None: ...
5555
@overload
5656
def update(xy: Point, wh: Point, /) -> None: ...
5757
def get_driver() -> str: ...

0 commit comments

Comments
 (0)