code: def make_caption(self, caption):
          
          if not hasattr(self, "caption"):
              self(caption=Caption())
          return self.caption.empty()(caption)
docs: Adds/Substitutes the table's caption.