aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/compat.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-07-05 13:34:34 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-07-05 13:34:34 -0400
commitf3829d8bd0cd852be133f8822aa4493a7a12fd51 (patch)
tree7d3e5b28775f9b6e5b489de905de009d7221ec90 /setuptools/compat.py
parentb8865685d6cad94c1e5a049ff2f63ae1bbfc1cf2 (diff)
downloadexternal_python_setuptools-f3829d8bd0cd852be133f8822aa4493a7a12fd51.tar.gz
external_python_setuptools-f3829d8bd0cd852be133f8822aa4493a7a12fd51.tar.bz2
external_python_setuptools-f3829d8bd0cd852be133f8822aa4493a7a12fd51.zip
Use numbers.Number to detect numeric type
Diffstat (limited to 'setuptools/compat.py')
-rw-r--r--setuptools/compat.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/setuptools/compat.py b/setuptools/compat.py
index 09e5af5c..507f8e6c 100644
--- a/setuptools/compat.py
+++ b/setuptools/compat.py
@@ -23,7 +23,6 @@ if PY2:
long_type = long
maxsize = sys.maxint
next = lambda o: o.next()
- numeric_types = (int, long, float)
unichr = unichr
unicode = unicode
bytes = str
@@ -52,7 +51,6 @@ if PY3:
long_type = int
maxsize = sys.maxsize
next = next
- numeric_types = (int, float)
unichr = chr
unicode = str
bytes = bytes