hotstepper.Steps.__add__

Steps.__add__(other)

The + operation to add int, float, step and steps objects like they are numbers.

Note

right and in-place addition is also available.
  • 3 + steps

  • steps += 3

  • steps + 3

Parameters

other (int, float, Step, Steps) – The thing to add to these steps, a single step or series of steps can be combined with the steps.

Returns

A new steps object consisting of this object with additional step objects representing the other operand.

Return type

Steps