summaryrefslogtreecommitdiff
path: root/bs4/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bs4/__init__.py')
-rw-r--r--bs4/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py
index ea6dd25..e6ad425 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -203,11 +203,11 @@ class BeautifulSoup(Tag):
navigable.setup()
return navigable
- def move_before(self, successor):
- raise ValueError("BeautifulSoup objects don't support move_before().")
+ def insert_before(self, successor):
+ raise ValueError("BeautifulSoup objects don't support insert_before().")
- def move_after(self, successor):
- raise ValueError("BeautifulSoup objects don't support move_after().")
+ def insert_after(self, successor):
+ raise ValueError("BeautifulSoup objects don't support insert_after().")
def popTag(self):
tag = self.tagStack.pop()