diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 15:10:48 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 15:10:48 -0500 |
commit | 784dca53bc03943472f58b05b6fcdff801343dac (patch) | |
tree | 76d78c8831f0acb5a3a41bc628ffbd62b0bbfc6d /beautifulsoup/builder/__init__.py | |
parent | 232311a2f682e59078012e5b05e382982862f627 (diff) | |
parent | 89961f4de3ab1e88b15dd9c0aaa0af77a7c32262 (diff) |
Discovered that html5lib can't be made to support SoupStrainers, and changed the test suite appropriately.
Diffstat (limited to 'beautifulsoup/builder/__init__.py')
-rw-r--r-- | beautifulsoup/builder/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/beautifulsoup/builder/__init__.py b/beautifulsoup/builder/__init__.py index 9ffa9ef..d6c750c 100644 --- a/beautifulsoup/builder/__init__.py +++ b/beautifulsoup/builder/__init__.py @@ -7,7 +7,6 @@ __all__ = [ 'TreeBuilder', ] - class TreeBuilder(Entities): """Turn a document into a Beautiful Soup object tree.""" @@ -163,3 +162,6 @@ class HTMLTreeBuilder(TreeBuilder): raise StopParsing pass return False + +from _lxml import * +from _html5lib import * |