Skip to content

Commit 638745c

Browse files
authored
Merge pull request #3389 from zoldalma999/move-image-docs
Move Surface, draw, transform and image docs to stubs
2 parents 0510571 + 0c10905 commit 638745c

File tree

14 files changed

+2333
-2752
lines changed

14 files changed

+2333
-2752
lines changed

buildconfig/stubs/pygame/display.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ def update(rectangles: Iterable[Optional[RectLike]], /) -> None: ...
310310
@overload
311311
def update(x: float, y: float, w: float, h: float, /) -> None: ...
312312
@overload
313-
def update(xy: Point, wh: Point, /) -> None:
313+
def update(xy: Point, wh: Point, /) -> None: ...
314+
def update(*args): # type: ignore
314315
"""Update all, or a portion, of the display. For non-OpenGL displays.
315316
316317
For non OpenGL display Surfaces, this function is very similar to

buildconfig/stubs/pygame/draw.pyi

Lines changed: 488 additions & 11 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)