code: def get_snippet(self, indent=4, max_length=75):
      if self.buffer is None:
          return None
      head = ""
      start = self.pointer
      while (
          start > 0
          and self.buffer[start - 1] not in "\0\r\n\x85\u2028\u2029"
      ):
          start -= 1
          if self.pointer - start > max_length / 2 - 1:
              head = " ... "
              start += 5
              break
      tail = ""
      end = self.pointer
      while (
          end < len(self.buffer)
          and self.buffer[end] not in "\0\r\n\x85\u2028\u2029"
      ):
          end += 1
          if end - self.pointer > max_length / 2 - 1:
              tail = " ... "
              end -= 5
              break
      snippet = self.buffer[start:end]
      return (
          " " * indent
          + head
          + snippet
          + tail
          + "\n"
          + " " * (indent + self.pointer - start + len(head))
          + "^"
      )
  
file_path: keepsake/python/keepsake/_vendor/yaml/error.py
label_desc: Use image node_id 2 for calling the Mark obj's underlying member method code with example usage: obj.get_snippet(indent, max_length) and returns: unknown, None