code: def prepare_version(self, version):
      major, minor = version
      if major != 1:
          raise EmitterError(
              "unsupported YAML version: %d.%d" % (major, minor)
          )
      return "%d.%d" % (major, minor)
  
imports: from .error import YAMLError
  from .events import *
label_desc: Use image node_id 40 for calling the Emitter obj's underlying member method code with example usage: obj.prepare_version(version) and returns: unknown