Fixed missing return types
This commit is contained in:
parent
c3660aa47b
commit
c94283721e
|
@ -3578,23 +3578,22 @@ class Vector2D():
|
|||
# endregion
|
||||
|
||||
# region Dunder Methods
|
||||
# TODO 返回值
|
||||
def __add__(self, other=Vector2D) -> Vector2D: ...
|
||||
def __add__(self, other: Vector2D) -> Vector2D: ...
|
||||
|
||||
def __eq__(self, other=Vector2D) -> bool:
|
||||
def __eq__(self, other: Vector2D) -> bool:
|
||||
"""Returns `True` if values for every axis are equal."""
|
||||
|
||||
def __mul__(self, other=Vector2D) -> float: ...
|
||||
def __mul__(self, other: Vector2D) -> float: ...
|
||||
|
||||
def __ne__(self, bool=Vector2D) -> bool:
|
||||
def __ne__(self, bool: Vector2D) -> bool:
|
||||
"""Returns `True` if the value for any axis is different."""
|
||||
|
||||
def __str__(self) -> str:
|
||||
"""Returns the axis values for the vector parsed as string."""
|
||||
...
|
||||
|
||||
def __sub__(self, other=Vector2D) -> Vector2D: ...
|
||||
def __truediv__(self, other=Vector2D): ...
|
||||
def __sub__(self, other: Vector2D) -> Vector2D: ...
|
||||
def __truediv__(self, other: Vector2D): ...
|
||||
|
||||
# endregion
|
||||
|
||||
|
@ -3658,13 +3657,13 @@ class Vector3D():
|
|||
def __abs__(self) -> Vector3D:
|
||||
"""Returns a Vector3D with the absolute value of the components x, y and z."""
|
||||
|
||||
def __add__(self, other=Vector3D) -> Vector3D: ...
|
||||
def __eq__(self, other=Vector3D) -> bool: ...
|
||||
def __mul__(self, other=Vector3D): ...
|
||||
def __ne__(self, other=Vector3D) -> bool: ...
|
||||
def __add__(self, other: Vector3D) -> Vector3D: ...
|
||||
def __eq__(self, other: Vector3D) -> bool: ...
|
||||
def __mul__(self, other: Vector3D): ...
|
||||
def __ne__(self, other: Vector3D) -> bool: ...
|
||||
def __str__(self) -> str: ...
|
||||
def __sub__(self, other=Vector3D): ...
|
||||
def __truediv__(self, other=Vector3D): ...
|
||||
def __sub__(self, other: Vector3D): ...
|
||||
def __truediv__(self, other: Vector3D): ...
|
||||
# endregion
|
||||
|
||||
|
||||
|
@ -3844,8 +3843,8 @@ class VehicleAckermannControl():
|
|||
# endregion
|
||||
|
||||
# region Dunder Methods
|
||||
def __eq__(self, other=VehicleAckermannControl): ...
|
||||
def __ne__(self, __value: VehicleAckermannControl) -> bool: ...
|
||||
def __eq__(self, other: VehicleAckermannControl) -> bool: ...
|
||||
def __ne__(self, other: VehicleAckermannControl) -> bool: ...
|
||||
def __str__(self) -> str: ...
|
||||
# endregion
|
||||
|
||||
|
@ -4060,8 +4059,8 @@ class VehiclePhysicsControl():
|
|||
# endregion
|
||||
|
||||
# region Dunder Methods
|
||||
def __eq__(self, other=VehiclePhysicsControl) -> bool: ...
|
||||
def __ne__(self, other=VehiclePhysicsControl) -> bool: ...
|
||||
def __eq__(self, other: VehiclePhysicsControl) -> bool: ...
|
||||
def __ne__(self, other: VehiclePhysicsControl) -> bool: ...
|
||||
def __str__(self) -> str: ...
|
||||
# endregion
|
||||
|
||||
|
|
Loading…
Reference in New Issue