summaryrefslogtreecommitdiff
path: root/beautifulsoup/element.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 09:46:51 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 09:46:51 -0500
commitde5a4f116b14d61da2698036cbf426a83b1b2cac (patch)
treecc65252a2d3b0a333c56081081a2ef41792027a6 /beautifulsoup/element.py
parent4ccc7c021d86ab648925072b9d4d3682587c5be8 (diff)
Still trying to get html5lib to rewrite the META tag.
Diffstat (limited to 'beautifulsoup/element.py')
-rw-r--r--beautifulsoup/element.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/beautifulsoup/element.py b/beautifulsoup/element.py
index 6e2bada..5793d59 100644
--- a/beautifulsoup/element.py
+++ b/beautifulsoup/element.py
@@ -9,7 +9,7 @@ from util import isString, isList
DEFAULT_OUTPUT_ENCODING = "utf-8"
-class Entities:
+class Entities(object):
"""A mixin class that knows about XML entities."""
HTML_ENTITIES = "html"
@@ -31,7 +31,7 @@ class Entities:
XML_SPECIAL_CHARS_TO_ENTITIES = _invert(XML_ENTITIES_TO_SPECIAL_CHARS)
-class PageElement:
+class PageElement(object):
"""Contains the navigational information for some part of the page
(either a tag or a piece of text)"""
@@ -765,7 +765,7 @@ class Tag(PageElement, Entities):
# Next, a couple classes to represent queries and their results.
-class SoupStrainer:
+class SoupStrainer(object):
"""Encapsulates a number of ways of matching a markup element (tag or
text)."""