Merge lp:~facelessuser/beautifulsoup/multi-append-insert into lp:beautifulsoup
Proposed by
Isaac Muse
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 485 | ||||
Proposed branch: | lp:~facelessuser/beautifulsoup/multi-append-insert | ||||
Merge into: | lp:beautifulsoup | ||||
Diff against target: |
143 lines (+71/-33) 2 files modified
bs4/element.py (+43/-33) bs4/tests/test_tree.py (+28/-0) |
||||
To merge this branch: | bzr merge lp:~facelessuser/beautifulsoup/multi-append-insert | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson | Approve | ||
Review via email: mp+361340@code.launchpad.net |
Commit message
Add conveniences for multi append and inserting
Add extend method to append multiple nodes
Allow insert_before and insert_after to accept multiple arguments.
Description of the change
Resolves issue #1514970.
To post a comment you must log in.
The self.parent checks can be moved out of the loops, but everything else looks good. I'll clean that up when I write the documentation.