Commit cc2f54a9 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #487455: make types.StringTypes a tuple.

parent aa5f8e73
...@@ -26,9 +26,9 @@ except NameError: ...@@ -26,9 +26,9 @@ except NameError:
StringType = str StringType = str
try: try:
UnicodeType = unicode UnicodeType = unicode
StringTypes = [StringType, UnicodeType] StringTypes = (StringType, UnicodeType)
except NameError: except NameError:
StringTypes = [StringType] StringTypes = (StringType,)
BufferType = type(buffer('')) BufferType = type(buffer(''))
......
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