diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-12-02 12:08:06 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-12-02 12:08:06 (GMT) |
commit | 8b6bd42e08336a5a2280d474d0d4ce9cce3c48cd (patch) | |
tree | e3f756f0a8b371788e18b02545eda2a173ff9143 | |
parent | 44ddbde3aba39bd7a2edbaeb1163fa570051cab3 (diff) | |
download | cpython-8b6bd42e08336a5a2280d474d0d4ce9cce3c48cd.zip cpython-8b6bd42e08336a5a2280d474d0d4ce9cce3c48cd.tar.gz cpython-8b6bd42e08336a5a2280d474d0d4ce9cce3c48cd.tar.bz2 |
Patch #487455: make types.StringTypes a tuple.
-rw-r--r-- | Lib/types.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ except NameError: StringType = str try: UnicodeType = unicode - StringTypes = [StringType, UnicodeType] + StringTypes = (StringType, UnicodeType) except NameError: - StringTypes = [StringType] + StringTypes = (StringType,) BufferType = type(buffer('')) |