def cftype_to_value(cftype):
 if (not cftype):
  return None
 typeID = cf.CFGetTypeID(cftype)
 if (typeID in known_cftypes):
  convert_function = known_cftypes[typeID]
  return convert_function(cftype)
 else:
  return cftype

def cftype_to_value ( cftype ) : if ( not cftype ) : return None typeID = cf . CFGetTypeID ( cftype ) if ( typeID in known_cftypes ) : convert_function = known_cftypes [ typeID ] return convert_function ( cftype ) else : return cftype
convert a cftype into an equivalent python type .