Remove unused compat types from compat.py

[ci skip]
This commit is contained in:
Mike Helmick 2013-05-20 10:31:32 -04:00
parent f7f19dbdc3
commit 3dbef22cee

View file

@ -20,18 +20,10 @@ if is_py2:
except ImportError:
from cgi import parse_qsl
builtin_str = str
bytes = str
str = unicode
basestring = basestring
numeric_types = (int, long, float)
elif is_py3:
from urllib.parse import urlencode, quote_plus, parse_qsl
builtin_str = str
str = str
bytes = bytes
basestring = (str, bytes)
numeric_types = (int, float)