code: def _get_next(self):
      # Get next frame
      ret = self._decoder.get_next()
      self.__physical_frame += 1
  
      # Check if an error occurred
      if ret is None:
          self._reset()  # Reset just to be safe
          self.seek(0)
          raise EOFError("failed to decode next frame in WebP file")
  
      # Compute duration
      data, timestamp = ret
      duration = timestamp - self.__timestamp
      self.__timestamp = timestamp
  
      # libwebp gives frame end, adjust to start of frame
      timestamp -= duration
      return data, timestamp, duration
  
file_path: catboost/contrib/python/Pillow/py2/PIL/WebPImagePlugin.py
imports: from io import BytesIO
  from .None import Image, ImageFile
label_desc: Use image node_id 7 for calling the WebPImageFile obj's underlying member method code with example usage: obj._get_next() and returns: data,  timestamp,  duration