summaryrefslogtreecommitdiff
path: root/Lib/types.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-12-02 12:08:06 +0000
committerMartin v. Löwis <martin@v.loewis.de>2001-12-02 12:08:06 +0000
commit8b6bd42e08336a5a2280d474d0d4ce9cce3c48cd (patch)
treee3f756f0a8b371788e18b02545eda2a173ff9143 /Lib/types.py
parent44ddbde3aba39bd7a2edbaeb1163fa570051cab3 (diff)
downloadcpython-git-8b6bd42e08336a5a2280d474d0d4ce9cce3c48cd.tar.gz
Patch #487455: make types.StringTypes a tuple.
Diffstat (limited to 'Lib/types.py')
-rw-r--r--Lib/types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/types.py b/Lib/types.py
index 11bd4b4ce6..8a07950f7e 100644
--- a/Lib/types.py
+++ b/Lib/types.py
@@ -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(''))