diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-01-06 01:16:23 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2020-01-06 12:10:35 +0000 |
commit | d7523e21aa65abb8ef58895c6bf3c768059f74aa (patch) | |
tree | e79d742b820a979e55d480887ca16d927323187d /numpy/distutils/compat.py | |
parent | da0497fdf35a7bf851f3625b0df07cde950f5f49 (diff) | |
download | numpy-d7523e21aa65abb8ef58895c6bf3c768059f74aa.tar.gz |
MAINT: Delete numpy.distutils.compat
`get_exception` has no callers as of this commit's parent, and is hard to argue as public API given the only docstring in the file refers to "inside distutils".
Diffstat (limited to 'numpy/distutils/compat.py')
-rw-r--r-- | numpy/distutils/compat.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/numpy/distutils/compat.py b/numpy/distutils/compat.py deleted file mode 100644 index 9a81cd392..000000000 --- a/numpy/distutils/compat.py +++ /dev/null @@ -1,10 +0,0 @@ -"""Small modules to cope with python 2 vs 3 incompatibilities inside -numpy.distutils - -""" -from __future__ import division, absolute_import, print_function - -import sys - -def get_exception(): - return sys.exc_info()[1] |