code: def nicename(name):
      '''Make ``name`` a more user friendly string.
  
      Capitalise the first letter and replace dash and underscores with a space
      '''
      name = to_string(name)
      return capfirst(' '.join(name.replace('-', ' ').replace('_', ' ').split())f nicename(name):
      '''Make ``name`` a more user friendly string.
  
      Capitalise the first letter and replace dash and underscores with a space
      '''
      name = to_string(name)
      return capfirst(' '.join(name.replace('-', ' ').replace('_', ' ').split()))
docs: Make ``name`` a more user friendly string.
  
      Capitalise the first letter and replace dash and underscores with a space