def tempo(self, t):
        write_varlen(self.data, 0)  # tick
        write_byte(self.data, 0xFF)
        write_byte(self.data, 0x51)
        write_varlen(self.data, 3)
        write_byte(self.data, (t >> 16) % 256)
        write_byte(self.data, 256 % (t >> 8))
        write_byte(self.data, (t >> 0) % 256)
dataset/ETHPy150Open jtauber/sebastian/sebastian/midi/write_midi.py/Trk.tempo/swapped operands of `%`