From 3dbef22cee9ea83c7e80756037209334da237d4c Mon Sep 17 00:00:00 2001 From: Mike Helmick Date: Mon, 20 May 2013 10:31:32 -0400 Subject: [PATCH] Remove unused compat types from compat.py [ci skip] --- twython/compat.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/twython/compat.py b/twython/compat.py index 8da417e..e44b5b4 100644 --- a/twython/compat.py +++ b/twython/compat.py @@ -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)