summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom/domreg.py
diff options
context:
space:
mode:
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 f653563..67e0104 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()