-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Selector.drop and SelectorList.drop methods (#247)
* fix: Don't remove text after deleted element * Update test_selector.py * fix linter * feat: Add `drop` method, revert changes to `remove` and deprecate it * chore: Rename remove → drop * fix: linter * chore: Inherit from `CannotRemoveElementWithoutParent` exception * chore(docs): Switch `.remove` to `drop` * chore: Change tests to use `.drop()` method
- Loading branch information
Showing
3 changed files
with
68 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters