summaryrefslogtreecommitdiff
path: root/beautifulsoup/element.py
diff options
context:
space:
mode:
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)."""