diff options
Diffstat (limited to 'bs4/__init__.py')
-rw-r--r-- | bs4/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py index 58f2960..af4563f 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -203,6 +203,12 @@ class BeautifulSoup(Tag): navigable.setup() return navigable + def move_before(self, successor): + raise ValueError("BeautifulSoup objects don't support move_before().") + + def move_after(self, successor): + raise ValueError("BeautifulSoup objects don't support move_after().") + def popTag(self): tag = self.tagStack.pop() #print "Pop", tag.name |