diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-12-02 12:08:06 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-12-02 12:08:06 +0000 |
commit | cc2f54a9e40cde6a978084818ebca33b5882fec3 (patch) | |
tree | d4d3af725207947a68aa982695b1f221b854bf6f /Lib/types.py | |
parent | aa5f8e73814c5b7c9bd1b0f11e9668648c222b72 (diff) | |
download | cpython-cc2f54a9e40cde6a978084818ebca33b5882fec3.tar.gz |
Patch #487455: make types.StringTypes a tuple.
Diffstat (limited to 'Lib/types.py')
-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 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('')) |