summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkxxoling <kxxoling@gmail.com>2015-05-02 12:41:05 +0800
committerkxxoling <kxxoling@gmail.com>2015-05-02 12:41:05 +0800
commitdd6fbd61a84763530b5bef936a4cc68a2a7102a7 (patch)
tree850feee9964391d17d7e9644c32ad0f3b0aa4640
parenteab2e649a34ae522f66e2ba8b1dff88746b62bce (diff)
parent4662ed08de09803526650f9509811cea270e8a81 (diff)
downloadpython-prettytable-ptable-dd6fbd61a84763530b5bef936a4cc68a2a7102a7.tar.gz
Merge branch 'hotfix/str_types'str_types
-rw-r--r--prettytable/_compact.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/prettytable/_compact.py b/prettytable/_compact.py
index 9b070c2..98f44b5 100644
--- a/prettytable/_compact.py
+++ b/prettytable/_compact.py
@@ -4,7 +4,7 @@ import sys
py3k = sys.version_info[0] >= 3
if py3k:
- str_types = (str)
+ str_types = (str, )
unicode_ = str
basestring_ = str
itermap = map
@@ -30,4 +30,4 @@ if py3k and sys.version_info[1] >= 2:
from html import escape
else:
from cgi import escape
-escape \ No newline at end of file
+escape