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
commitcc2f54a9e40cde6a978084818ebca33b5882fec3 (patch)
treed4d3af725207947a68aa982695b1f221b854bf6f /Lib/types.py
parentaa5f8e73814c5b7c9bd1b0f11e9668648c222b72 (diff)
downloadcpython-cc2f54a9e40cde6a978084818ebca33b5882fec3.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(''))