def delete_lines(self, lines):
        """
        Delete all lines with given line numbers.

        Args:
            lines (list): List of integers corresponding to line numbers to delete
        """
        for k, i in enumerate(lines):
            del self[i-k]
def delete_lines ( self , lines ) : for k , i in enumerate ( lines ) : del self [ i - k ]
Delete all lines with given line numbers.

        Args:
            lines (list): List of integers corresponding to line numbers to delete