@@ -122,7 +122,7 @@ def list_output_ports(api=rtmidi.API_UNSPECIFIED):
122
122
def open_midiport (port = None , type_ = "input" , api = rtmidi .API_UNSPECIFIED ,
123
123
use_virtual = False , interactive = True , client_name = None ,
124
124
port_name = None ):
125
- """Open MIDI port for input or output and return MidiIn/MidiOut instance.
125
+ """Open MIDI port for in-/ output and return MidiIn/-Out instance and port name .
126
126
127
127
Arguments:
128
128
@@ -263,10 +263,10 @@ def open_midiport(port=None, type_="input", api=rtmidi.API_UNSPECIFIED,
263
263
264
264
def open_midiinput (port = None , api = rtmidi .API_UNSPECIFIED , use_virtual = False ,
265
265
interactive = True , client_name = None , port_name = None ):
266
- """Open a MIDI port for input and return a MidiIn instance.
266
+ """Open a MIDI port for input and return a MidiIn instance and port name .
267
267
268
- See the ``open_midiport`` function for information on parameters and
269
- possible exceptions.
268
+ See the ``open_midiport`` function for information on parameters, return
269
+ types and possible exceptions.
270
270
271
271
"""
272
272
return open_midiport (port , "input" , api , use_virtual , interactive ,
@@ -275,10 +275,10 @@ def open_midiinput(port=None, api=rtmidi.API_UNSPECIFIED, use_virtual=False,
275
275
276
276
def open_midioutput (port = None , api = rtmidi .API_UNSPECIFIED , use_virtual = False ,
277
277
interactive = True , client_name = None , port_name = None ):
278
- """Open a MIDI port for output and return a MidiOut instance.
278
+ """Open a MIDI port for output and return a MidiOut instance and port name .
279
279
280
- See the ``open_midiport`` function for information on parameters and
281
- possible exceptions.
280
+ See the ``open_midiport`` function for information on parameters, return
281
+ types and possible exceptions.
282
282
283
283
"""
284
284
return open_midiport (port , "output" , api , use_virtual , interactive ,
0 commit comments