summaryrefslogtreecommitdiffstats
path: root/Lib/xmlcore/dom/xmlbuilder.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2006-04-06 01:29:04 (GMT)
committerFred Drake <fdrake@acm.org>2006-04-06 01:29:04 (GMT)
commit9ea179fa7da13aa68c42a86cb9b315b0d9ea7aaf (patch)
treeef22f1e5c391f2792d2031dbdce7802c65a024b2 /Lib/xmlcore/dom/xmlbuilder.py
parent8038163ee65252b028148bb6fd10a5361831f277 (diff)
downloadcpython-9ea179fa7da13aa68c42a86cb9b315b0d9ea7aaf.zip
cpython-9ea179fa7da13aa68c42a86cb9b315b0d9ea7aaf.tar.gz
cpython-9ea179fa7da13aa68c42a86cb9b315b0d9ea7aaf.tar.bz2
remove much of the Python-version compatibility cruft; the minimum Python
version this should support is Python 2.3
Diffstat (limited to 'Lib/xmlcore/dom/xmlbuilder.py')
-rw-r--r--Lib/xmlcore/dom/xmlbuilder.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/xmlcore/dom/xmlbuilder.py b/Lib/xmlcore/dom/xmlbuilder.py
index d58c723..6566d3c 100644
--- a/Lib/xmlcore/dom/xmlbuilder.py
+++ b/Lib/xmlcore/dom/xmlbuilder.py
@@ -3,8 +3,6 @@
import copy
import xmlcore.dom
-from xmlcore.dom.minicompat import *
-
from xmlcore.dom.NodeFilter import NodeFilter
@@ -211,7 +209,7 @@ def _name_xform(name):
return name.lower().replace('-', '_')
-class DOMEntityResolver(NewStyle):
+class DOMEntityResolver(object):
__slots__ = '_opener',
def resolveEntity(self, publicId, systemId):
@@ -255,7 +253,7 @@ class DOMEntityResolver(NewStyle):
return param.split("=", 1)[1].lower()
-class DOMInputSource(NewStyle):
+class DOMInputSource(object):
__slots__ = ('byteStream', 'characterStream', 'stringData',
'encoding', 'publicId', 'systemId', 'baseURI')