parameters: (portnum)
return_statement: return System.IO.Ports.SerialPort.GetPortNames()[portnum]
docstring: Turn a port number into a device name
docstring_summary: Turn a port number into a device name
docstring_tokens: Turn a port number into a device name
function: def device(portnum):
      """Turn a port number into a device name"""
      return System.IO.Ports.SerialPort.GetPortNames()[portnum]
function_tokens: def device ( portnum ) : return System . IO . Ports . SerialPort . GetPortNames ( ) [ portnum ]