(self, stream, field, linefeed, serial_in_size, queues)
Initialise COMn: file.
Initialise COMn: file.
Initialise COMn : file .
def __init__(self, stream, field, linefeed, serial_in_size, queues):
        """Initialise COMn: file."""
        TextFileBase.__init__(self, stream, b'D', b'R')
        self._queues = queues
        # create a FIELD for GET and PUT. no text file operations on COMn: FIELD
        self._field = field
        self._linefeed = linefeed
        self._serial_in_size = serial_in_size
        self.is_open = True
def __init__ ( self , stream , field , linefeed , serial_in_size , queues ) : TextFileBase . __init__ ( self , stream , b'D' , b'R' ) self . _queues = queues # create a FIELD for GET and PUT. no text file operations on COMn: FIELD self . _field = field self . _linefeed = linefeed self . _serial_in_size = serial_in_size self . is_open = True