LGTM, thanks. The file `python/midi.c` was rewritten in Python almost three years ago, see commit d8677d345.