summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-05-21 11:26:28 -0400
committerLeonard Richardson <leonard.richardson@canonical.com>2011-05-21 11:26:28 -0400
commit5045b8cfcdd7556a1e2c4a2999d4ed1108b0425a (patch)
tree3092dfacdb3b601f9f4db80774e809eee0c43529
parent927e5de747ed2d87b55eb6e8dad46d8598f27e09 (diff)
Reduced the difference between Python 2's __init__.py and Python 3's __init__.py.
-rw-r--r--bs4/__init__.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py
index 8baeec4..22ecc43 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -16,7 +16,6 @@ For more than you ever wanted to know about Beautiful Soup, see the
documentation:
http://www.crummy.com/software/BeautifulSoup/documentation.html
"""
-from __future__ import generators
__author__ = "Leonard Richardson (leonardr@segfault.org)"
__version__ = "4.0.0a"
@@ -27,9 +26,9 @@ __all__ = ['BeautifulSoup']
import re
-from builder import builder_registry
-from dammit import UnicodeDammit
-from element import DEFAULT_OUTPUT_ENCODING, NavigableString, Tag
+from .builder import builder_registry
+from .dammit import UnicodeDammit
+from .element import DEFAULT_OUTPUT_ENCODING, NavigableString, Tag
class BeautifulSoup(Tag):