parameters: (aasSections, sLineSep = ' ', sSectionSep = '\n')
return_statement: return sRet
docstring: Flattens sections into a simple stripped string with newlines as
          section breaks.  The final section does not sport a trailing newline.
docstring_summary: Flattens sections into a simple stripped string with newlines as
          section breaks.  The final section does not sport a trailing newline.
docstring_tokens: Flattens sections into a simple stripped string with newlines as section breaks . The final section does not sport a trailing newline .
function: def flattenAllSections(aasSections, sLineSep = ' ', sSectionSep = '\n'):
          """
          Flattens sections into a simple stripped string with newlines as
          section breaks.  The final section does not sport a trailing newline.
          """
          # Typical: One section with a single line.
          if len(aasSections) == 1 and len(aasSections[0]) == 1:
              return aasSections[0][0].strip();
  
          sRet = '';
          for iSection, asLines in enumerate(aasSections):
              if asLines:
                  if iSection > 0:
                      sRet += sSectionSep;
                  sRet += sLineSep.join([sLine.strip() for sLine in asLines]);
          return sRet;
function_tokens: def flattenAllSections ( aasSections , sLineSep = ' ' , sSectionSep = '\n' ) : # Typical: One section with a single line. if len ( aasSections ) == 1 and len ( aasSections [ 0 ] ) == 1 : return aasSections [ 0 ] [ 0 ] . strip ( ) sRet = '' for iSection , asLines in enumerate ( aasSections ) : if asLines : if iSection > 0 : sRet += sSectionSep sRet += sLineSep . join ( [ sLine . strip ( ) for sLine in asLines ] ) return sRet