Skip to content

Commit 1361426

Browse files
ankith26MyreMylar
andauthored
Fix lerp stub to doc discrepancy
Co-authored-by: Dan Lawrence <[email protected]>
1 parent 3861d6d commit 1361426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildconfig/stubs/pygame/math.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ class Vector3(_GenericVector):
333333
def update(self, x: int, y: int, z: int) -> None: ...
334334

335335

336-
def lerp(a: float, b: float, weight: float, do_clamp: bool = True, /) -> float: ...
336+
def lerp(a: float, b: float, value: float, do_clamp: bool = True, /) -> float: ...
337337
def invlerp(a: float, b: float, value: float, /) -> float: ...
338338
def remap(i_min: float, i_max: float, o_min: float, o_max: float, value: float, /) -> float: ...
339339
def smoothstep(a: float, b: float, weight: float, /) -> float: ...

0 commit comments

Comments
 (0)