Skip to content

Commit 0e3149e

Browse files
committed
Address pylint diagnostic 'consider using a generator'
1 parent 01ae093 commit 0e3149e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/midi_inoutdemo.py

Lines changed: 1 addition & 1 deletion
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)