summaryrefslogtreecommitdiff
path: root/beautifulsoup/element.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 07:45:09 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 07:45:09 -0500
commitf40a7f8fbcceb61ead662c6cc69b141fdee246da (patch)
tree9ce9bd9d42456181720f9f263df3bbc7149b84ff /beautifulsoup/element.py
parent662ec109acc656b1607b8464d3ef85f5d1feec4c (diff)
Fixed the findAll backwards compatibility alias.
Diffstat (limited to 'beautifulsoup/element.py')
-rw-r--r--beautifulsoup/element.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/beautifulsoup/element.py b/beautifulsoup/element.py
index 726f2e2..39e0e06 100644
--- a/beautifulsoup/element.py
+++ b/beautifulsoup/element.py
@@ -722,10 +722,8 @@ class Tag(PageElement, Entities):
if not recursive:
generator = self.children
return self._find_all(name, attrs, text, limit, generator, **kwargs)
-
- # Old names for backwards compatibility.
- find_all = find_all
- findChildren = find_all
+ findAll = find_all # BS3
+ findChildren = find_all # BS2
#Private methods