def make_column_label(command_name, description, default):
 for (pattern, label) in description_map:
  if fnmatch.fnmatch(description, pattern):
   return label
 return default

def make_column_label ( command_name , description , default ) : for ( pattern , label ) in description_map : if fnmatch . fnmatch ( description , pattern ) : return label return default
try to work out a reasonable column name from parameter description .