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

Patch #487455: make types.StringTypes a tuple.

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