(self, crlf)
Initialise the stream.
Initialise the stream.
Initialise the stream .
def __init__(self, crlf):
        """Initialise the stream."""
        self.is_open = False
        self._crlf = crlf
        # dummy parameters
        self.baudrate = 300
        self.parity = 'E'
        self.bytesize = 8
        self.stopbits = 2
        # dummy output pins
        self.rts = False
        self.dtr = False
        self.break_condition = False
        self.port = u'STDIO'
def __init__ ( self , crlf ) : self . is_open = False self . _crlf = crlf # dummy parameters self . baudrate = 300 self . parity = 'E' self . bytesize = 8 self . stopbits = 2 # dummy output pins self . rts = False self . dtr = False self . break_condition = False self . port = u'STDIO'