code: def data_received(self, data):
      spawn = self.expecter.spawn
      s = spawn._decoder.decode(data)
      spawn._log(s, "read")
  
      if self.fut.done():
          spawn._before.write(s)
          spawn._buffer.write(s)
          return
  
      try:
          index = self.expecter.new_data(s)
          if index is not None:
              # Found a match
              self.found(index)
      except Exception as exc:
          self.expecter.errored()
          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 5 for calling the PatternWaiter obj's underlying member method code with example usage: obj.data_received(data) without return types