def after_convert(self, buf):
        if self.postamble:
            if not buf[-1].endswith("\n"):
                buf.append("\n")
            buf.append(self.postamble + "\n")
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/tenjin.py/Template.after_convert/original