code: def end_table_footer(self):
          r
  
          if self.foot:
              msg = "Table already has a foot"
              raise TableError(msg)
  
          self.foot = True
  
          self.append(Command('endfoot'))
docs: r"""End the table foot which will appear on every page.