(self, exc)
\
        Called when the serial port is closed or the reader loop terminated
        otherwise.
\
        Called when the serial port is closed or the reader loop terminated
        otherwise.
\ Called when the serial port is closed or the reader loop terminated otherwise .
def connection_lost(self, exc):
        """\
        Called when the serial port is closed or the reader loop terminated
        otherwise.
        """
        if isinstance(exc, Exception):
            raise exc
def connection_lost ( self , exc ) : if isinstance ( exc , Exception ) : raise exc