diff --git a/boltons/tableutils.py b/boltons/tableutils.py index f857a5c..a8e523c 100644 --- a/boltons/tableutils.py +++ b/boltons/tableutils.py @@ -25,7 +25,11 @@ import cgi import types from itertools import islice from collections import Sequence, Mapping, MutableSequence -from six import string_types, integer_types +try: + string_types, integer_types = (str, unicode), (int, long) +except: + # Python 3 compat + string_types, integer_types = (str, bytes), (int,) try: from compat import make_sentinel