diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-07-05 13:34:34 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-07-05 13:34:34 -0400 |
commit | f3829d8bd0cd852be133f8822aa4493a7a12fd51 (patch) | |
tree | 7d3e5b28775f9b6e5b489de905de009d7221ec90 /setuptools/compat.py | |
parent | b8865685d6cad94c1e5a049ff2f63ae1bbfc1cf2 (diff) | |
download | external_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.py | 2 |
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 |