Skip to content

Commit

Permalink
Merge pull request #3248 from aatle/fix-geometry-stubs
Browse files Browse the repository at this point in the history
Fix failing tests: change `Tuple[float, float]` to `Point` in `geometry.pyi`
  • Loading branch information
damusss authored Dec 1, 2024
2 parents b77bf55 + aec311d commit 02716db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildconfig/stubs/pygame/geometry.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ class Line:
@overload
def scale(self, factor: float, origin: float, /) -> Line: ...
@overload
def scale(self, factor_and_origin: Tuple[float, float], /) -> Line: ...
def scale(self, factor_and_origin: Point, /) -> Line: ...
@overload
def scale_ip(self, factor: float, origin: float, /) -> None: ...
@overload
def scale_ip(self, factor_and_origin: Tuple[float, float], /) -> None: ...
def scale_ip(self, factor_and_origin: Point, /) -> None: ...
def flip_ab(self) -> Line: ...
def flip_ab_ip(self) -> None: ...

0 comments on commit 02716db

Please sign in to comment.