summaryrefslogtreecommitdiff
path: root/Lib/xml/dom/domreg.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-28 08:28:28 +0000
committerChristian Heimes <christian@cheimes.de>2007-11-28 08:28:28 +0000
commitc9543e42330e5f339d6419eba6a8c5a61a39aeca (patch)
treeee3c677e808d015b6c142e1cca28337e08839818 /Lib/xml/dom/domreg.py
parentceee0773d262bfe876e40da927b03279ed9f8419 (diff)
downloadcpython-git-c9543e42330e5f339d6419eba6a8c5a61a39aeca.tar.gz
Removed the new module
Removed a lot of types from the 'types' module that are available through builtins.
Diffstat (limited to 'Lib/xml/dom/domreg.py')
-rw-r--r--Lib/xml/dom/domreg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/domreg.py b/Lib/xml/dom/domreg.py
index f653563cbf..67e0104d27 100644
--- a/Lib/xml/dom/domreg.py
+++ b/Lib/xml/dom/domreg.py
@@ -62,7 +62,7 @@ def getDOMImplementation(name = None, features = ()):
# User did not specify a name, try implementations in arbitrary
# order, returning the one that has the required features
- if isinstance(features, StringTypes):
+ if isinstance(features, str):
features = _parse_feature_string(features)
for creator in registered.values():
dom = creator()