Skip to content

Move Surface, draw, transform and image docs to stubs #3389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion buildconfig/stubs/pygame/display.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ def update(rectangles: Iterable[Optional[RectLike]], /) -> None: ...
@overload
def update(x: float, y: float, w: float, h: float, /) -> None: ...
@overload
def update(xy: Point, wh: Point, /) -> None:
def update(xy: Point, wh: Point, /) -> None: ...
def update(*args): # type: ignore
"""Update all, or a portion, of the display. For non-OpenGL displays.

For non OpenGL display Surfaces, this function is very similar to
Expand Down
499 changes: 488 additions & 11 deletions buildconfig/stubs/pygame/draw.pyi

Large diffs are not rendered by default.

Loading
Loading