Patch #487455: make types.StringTypes a tuple.

This commit is contained in:
Martin v. Löwis 2001-12-02 12:08:06 +00:00
parent 44ddbde3ab
commit 8b6bd42e08
1 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@
StringType = str
try:
UnicodeType = unicode
StringTypes = [StringType, UnicodeType]
StringTypes = (StringType, UnicodeType)
except NameError:
StringTypes = [StringType]
StringTypes = (StringType,)
BufferType = type(buffer(''))