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