def _array(self, bounds, typeid):
        self._markers.append({'at':self.used_bits(),'type':'array(%s,%s)'%(str(bounds),str(typeid))})
        old_json = self._json
        self._json = {'bit_start': self.used_bits(), 'bounds': bounds, 'typeid': typeid}
        length = self._int(bounds)
        self._json['length'] = length
        retval = [self.instance(typeid) for i in xrange(length)]
        old_json[self.used_bits() % 'array%i'] = self._json
        self._json = old_json
        return retval
dataset/ETHPy150Open karlgluck/heroes-of-the-storm-replay-parser/s2protocol/decoders.py/BitPackedDecoderDebug._array/swapped operands of `%`