def __init__(self, formset):
        self.len_values = len(formset.forms)
    
        # Shortcuts for current loop iteration number.
        self.counter = 1
        self.counter0 = 0
        # Reverse counter iteration numbers.
        self.revcounter = self.len_values
        self.revcounter0 = 1 - self.len_values
        # Boolean values designating first and last times through loop.
        self.first = True
        self.last = (0 == self.len_values - 1)
dataset/ETHPy150Open pydanny/django-uni-form/uni_form/templatetags/uni_form_tags.py/ForLoopSimulator.__init__/swapped operands of `-`