code: def connection_lost(self, exc):
      if isinstance(exc, OSError) and exc.errno == errno.EIO:
          # We may get here without eof_received being called, e.g on Linux
          self.eof_received()
      elif exc is not None:
          self.error(exc)
  
file_path: catboost/contrib/python/pexpect/py3/pexpect/_async_w_await.py
imports: import asyncio
  import errno
  import signal
  from sys import version_info
  from pexpect import EOF
label_desc: Use image node_id 7 for calling the PatternWaiter obj's underlying member method code with example usage: obj.connection_lost(exc) without return types