hotstepper.Steps.lshift¶
-
Steps.lshift(other)¶ Left shift operator <<, used to shift the step backwards. Shifts the steps keys to the left, this operation is equivalent to subtracting a constant value from all step keys.
- Parameters
other (int, float, timedelta_like) – The amount to subtract from all step keys. The type should align to the step key type, i.e. if the steps are using datetime, then other should be a timedelta type, else an int or float.
See also