summaryrefslogtreecommitdiff
path: root/numpy/distutils/command
diff options
context:
space:
mode:
authorSrinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>2017-08-23 00:28:40 +0530
committerSrinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>2017-08-26 19:26:40 +0530
commit3184aab941f28dc6c5c305fbac43263bc66f4d1a (patch)
treedef362cf1c7fe09c877389e4aced03d358687d47 /numpy/distutils/command
parentcf618a5710a252611c51467ebf9e8516f8c6788b (diff)
downloadnumpy-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.py4
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):