diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-08 00:21:20 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-08 00:21:20 -0500 |
commit | 0738f4c4dbd0f0f7aebb22420b82148fe1c233a0 (patch) | |
tree | fc39462a5d4ad9e21b1435b73a853f8fae287738 /bs4/__init__.py | |
parent | 43aeaf51780466e023418f7dfd1f456614c061e2 (diff) |
Renamed move_* back to insert_*
Diffstat (limited to 'bs4/__init__.py')
-rw-r--r-- | bs4/__init__.py | 8 |
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() |