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