commit | 8b6bd42e08336a5a2280d474d0d4ce9cce3c48cd | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun Dec 02 12:08:06 2001 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun Dec 02 12:08:06 2001 +0000 |
tree | e3f756f0a8b371788e18b02545eda2a173ff9143 | |
parent | 44ddbde3aba39bd7a2edbaeb1163fa570051cab3 [diff] [blame] |
Patch #487455: make types.StringTypes a tuple.
diff --git a/Lib/types.py b/Lib/types.py index 11bd4b4..8a07950 100644 --- a/Lib/types.py +++ b/Lib/types.py
@@ -26,9 +26,9 @@ StringType = str try: UnicodeType = unicode - StringTypes = [StringType, UnicodeType] + StringTypes = (StringType, UnicodeType) except NameError: - StringTypes = [StringType] + StringTypes = (StringType,) BufferType = type(buffer(''))