code: def get_mark(self):
      if self.stream is None:
          return Mark(
              self.name,
              self.index,
              self.line,
              self.column,
              self.buffer,
              self.pointer,
          )
      else:
          return Mark(
              self.name, self.index, self.line, self.column, None, None
          )
  
file_path: keepsake/python/keepsake/_vendor/yaml/reader.py
imports: from .error import YAMLError, Mark
  import codecs, re
label_desc: Use image node_id 5 for calling the Reader obj's underlying member method code with example usage: obj.get_mark() and returns: Mark, Mark