Skip to content

Commit caa8a2a

Browse files
authored
Merge pull request #39 from jepler/use-generator
Address pylint diagnostic 'consider using a generator'
2 parents f24bb0d + 0e3149e commit caa8a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/midi_inoutdemo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Convert channel numbers at the presentation layer to the ones musicians use
3838
print("Default output channel:", midi.out_channel + 1)
39-
print("Listening on input channels:", tuple([c + 1 for c in midi.in_channel]))
39+
print("Listening on input channels:", tuple(c + 1 for c in midi.in_channel))
4040

4141
major_chord = [0, 4, 7]
4242
while True:

0 commit comments

Comments
 (0)