def insert_line(self, line):
        """Insert a new line"""
        if self.current_block is not None:
            self.current_block.append(line)
        else:
            self.header.append(line)
def insert_line ( self , line ) : if self . current_block is not None : self . current_block . append ( line ) else : self . header . append ( line )
Insert a new line