

def render(self, name, value, attrs=None, choices=()):
    if isinstance(value, BitHandler):
        value = [self for (k, v) in value if v]
    return super(BitFieldCheckboxSelectMultiple, self).render(name, value, attrs=attrs, choices=enumerate(choices))

dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/accounts/bitformfield.py BitFieldCheckboxSelectMultiple.render/VarMisuse@36/39 `k`->`self`