parameters: (s)
return_statement: return ''.join(rv)
docstring: Return a titlecased version of the value. I.e. words will start with
      uppercase letters, all remaining characters are lowercase.
docstring_summary: Return a titlecased version of the value. I.e. words will start with
      uppercase letters, all remaining characters are lowercase.
docstring_tokens: Return a titlecased version of the value . I . e . words will start with uppercase letters all remaining characters are lowercase .
function: def do_title(s):
      """Return a titlecased version of the value. I.e. words will start with
      uppercase letters, all remaining characters are lowercase.
      """
      rv = []
      for item in re.compile(r'([-\s]+)(?u)').split(soft_unicode(s)):
          if not item:
              continue
          rv.append(item[0].upper() + item[1:].lower())
      return ''.join(rv)
function_tokens: def do_title ( s ) : rv = [ ] for item in re . compile ( r'([-\s]+)(?u)' ) . split ( soft_unicode ( s ) ) : if not item : continue rv . append ( item [ 0 ] . upper ( ) + item [ 1 : ] . lower ( ) ) return '' . join ( rv )