def _generate_group_title(group):
 return group.name.replace('_', ' ').title()

def _generate_group_title ( group ) : return group . name . replace ( '_' , ' ' ) . title ( )
return a title for the given group factory stub object .