summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkxxoling <kxxoling@gmail.com>2015-05-02 12:41:30 +0800
committerkxxoling <kxxoling@gmail.com>2015-05-02 12:41:30 +0800
commita3f106ed87a82d7774bd25b657897c451c4b3649 (patch)
tree850feee9964391d17d7e9644c32ad0f3b0aa4640
parentfd91f96e5af958ead99c1582d34f1a116f0bab84 (diff)
parent4662ed08de09803526650f9509811cea270e8a81 (diff)
downloadpython-prettytable-ptable-a3f106ed87a82d7774bd25b657897c451c4b3649.tar.gz
Merge branch 'hotfix/str_types' into develop
-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