Kaydet (Commit) 93f3910d authored tarafından Walter Dörwald's avatar Walter Dörwald

types.StringType is gone, use str directly instead.

üst 865b003d
...@@ -10,7 +10,10 @@ from . import xmlreader ...@@ -10,7 +10,10 @@ from . import xmlreader
try: try:
_StringTypes = [types.StringType, types.UnicodeType] _StringTypes = [types.StringType, types.UnicodeType]
except AttributeError: except AttributeError:
_StringTypes = [types.StringType] try:
_StringTypes = [types.StringType]
except AttributeError:
_StringTypes = [str]
# See whether the xmlcharrefreplace error handler is # See whether the xmlcharrefreplace error handler is
# supported # 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