parameters: (s)
return_statement: return '\n'.join(lines)
docstring: Returns string formatted to the wrapped paragraph multiline string.
  
      Replaces whitespaces by one space and then uses he textwrap.fill().
docstring_summary: Returns string formatted to the wrapped paragraph multiline string.
docstring_tokens: Returns string formatted to the wrapped paragraph multiline string .
function: def fill(s):
      """Returns string formatted to the wrapped paragraph multiline string.
  
      Replaces whitespaces by one space and then uses he textwrap.fill()."""
  
      # Replace all whitespace by spaces, remove whitespaces that are not
      # necessary, strip the left and right whitespaces, and break the string
      # to list of words.
      rexWS = re.compile(r'\s+')
      lst = rexWS.sub(' ', s).strip().split()
  
      # If the list is not empty, put the words together and form the lines
      # of maximum 70 characters. Build the list of lines.
      lines = []
      if lst:
          line = lst.pop(0)   # no separation space in front of the first word
          for word in lst:
              if len(line) + len(word) < 70:
                  line += ' ' + word
              else:
                  lines.append(line)  # another full line formed
                  line = word         # next line started
          lines.append(line)          # the last line
      return '\n'.join(lines)
function_tokens: def fill ( s ) : # Replace all whitespace by spaces, remove whitespaces that are not # necessary, strip the left and right whitespaces, and break the string # to list of words. rexWS = re . compile ( r'\s+' ) lst = rexWS . sub ( ' ' , s ) . strip ( ) . split ( ) # If the list is not empty, put the words together and form the lines # of maximum 70 characters. Build the list of lines. lines = [ ] if lst : line = lst . pop ( 0 ) # no separation space in front of the first word for word in lst : if len ( line ) + len ( word ) < 70 : line += ' ' + word else : lines . append ( line ) # another full line formed line = word # next line started lines . append ( line ) # the last line return '\n' . join ( lines )