diff options
author | Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> | 2017-08-23 00:28:40 +0530 |
---|---|---|
committer | Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> | 2017-08-26 19:26:40 +0530 |
commit | 3184aab941f28dc6c5c305fbac43263bc66f4d1a (patch) | |
tree | def362cf1c7fe09c877389e4aced03d358687d47 /numpy/distutils/command | |
parent | cf618a5710a252611c51467ebf9e8516f8c6788b (diff) | |
download | numpy-3184aab941f28dc6c5c305fbac43263bc66f4d1a.tar.gz |
MAINT: Remove unnecessary imports
- Now that `set` datastructure has been added the `builtin` module, we do not need to explicitly import from `sets` module
Diffstat (limited to 'numpy/distutils/command')
-rw-r--r-- | numpy/distutils/command/build_ext.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py index 0fa52a281..cf5bfa04f 100644 --- a/numpy/distutils/command/build_ext.py +++ b/numpy/distutils/command/build_ext.py @@ -22,10 +22,6 @@ from numpy.distutils.misc_util import filter_sources, has_f_sources, \ msvc_version from numpy.distutils.command.config_compiler import show_fortran_compilers -try: - set -except NameError: - from sets import Set as set class build_ext (old_build_ext): |