From 8b6bd42e08336a5a2280d474d0d4ce9cce3c48cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 2 Dec 2001 12:08:06 +0000 Subject: [PATCH] Patch #487455: make types.StringTypes a tuple. --- Lib/types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/types.py b/Lib/types.py index 11bd4b4ce6f..8a07950f7e9 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(''))