parameters: (self, records)
return_statement: return rv
docstring: Format the specified records and return the result as a string.
docstring_summary: Format the specified records and return the result as a string.
docstring_tokens: Format the specified records and return the result as a string .
function: def format(self, records):
          """
          Format the specified records and return the result as a string.
          """
          rv = ""
          if len(records) > 0:
              rv = rv + self.formatHeader(records)
              for record in records:
                  rv = rv + self.linefmt.format(record)
              rv = rv + self.formatFooter(records)
          return rv
function_tokens: def format ( self , records ) : rv = "" if len ( records ) > 0 : rv = rv + self . formatHeader ( records ) for record in records : rv = rv + self . linefmt . format ( record ) rv = rv + self . formatFooter ( records ) return rv