def variant_name(variant):
 if (variant is None):
  return '<default>'
 return variant

def variant_name ( variant ) : if ( variant is None ) : return '<default>' return variant
return a human-readable string representation of variant .