parameters: (s, suffix)
return_statement: return ''.join(final)
docstring: Returns 's', with 'suffix' appended to all lines.
  
      If the last line is empty, suffix is not appended
      to it.  (If s is blank, returns s unchanged.)
docstring_summary: Returns 's', with 'suffix' appended to all lines.
docstring_tokens: Returns s with suffix appended to all lines .
function: def suffix_all_lines(s, suffix):
      """
      Returns 's', with 'suffix' appended to all lines.
  
      If the last line is empty, suffix is not appended
      to it.  (If s is blank, returns s unchanged.)
      """
      split = s.split('\n')
      last = split.pop()
      final = []
      for line in split:
          final.append(line)
          final.append(suffix)
          final.append('\n')
      if last:
          final.append(last)
          final.append(suffix)
      return ''.join(final)
function_tokens: def suffix_all_lines ( s , suffix ) : split = s . split ( '\n' ) last = split . pop ( ) final = [ ] for line in split : final . append ( line ) final . append ( suffix ) final . append ( '\n' ) if last : final . append ( last ) final . append ( suffix ) return '' . join ( final )