code: def _get_value_type(kind):
      
  
      if kind == TEXT:
          return APETextValue
      elif kind == BINARY:
          return APEBinaryValue
      elif kind == EXTERNAL:
          return APEExtValue
      raise ValueError("unknown kind %r" % kind)
docs: Returns a _APEValue subclass or raises ValueError