diff --git a/mbcp/mp_math/vector.py b/mbcp/mp_math/vector.py index fe89f74..6988472 100644 --- a/mbcp/mp_math/vector.py +++ b/mbcp/mp_math/vector.py @@ -194,7 +194,7 @@ class Vector3: else: raise TypeError(f"unsupported operand type(s) for *: 'Vector3' and '{type(other)}'") - def __rmul__(self, other: float | int) -> 'Vector3': + def __rmul__(self, other: 'RealNumber') -> 'Vector3': return self.__mul__(other) def __matmul__(self, other: 'Vector3') -> float: