Commit 93f3910d authored by Walter Dörwald's avatar Walter Dörwald

types.StringType is gone, use str directly instead.

parent 865b003d
......@@ -10,7 +10,10 @@ from . import xmlreader
try:
_StringTypes = [types.StringType, types.UnicodeType]
except AttributeError:
_StringTypes = [types.StringType]
try:
_StringTypes = [types.StringType]
except AttributeError:
_StringTypes = [str]
# See whether the xmlcharrefreplace error handler is
# supported
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment