diff options
-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('')) |