summaryrefslogtreecommitdiff
path: root/numpy/distutils/command
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-03-16 21:46:59 +0200
committermattip <matti.picus@gmail.com>2019-03-17 09:05:25 +0200
commit32129453da0f9bf0f352adaaff79f884d2bf52bc (patch)
treeb7ce2d438f054385ebc5648a0e136b24cdbdfbfe /numpy/distutils/command
parentbee436da4efb2240752eea751971aa6ea5a3bb48 (diff)
downloadnumpy-32129453da0f9bf0f352adaaff79f884d2bf52bc.tar.gz
DEV: cleanup imports and some assignments (from LGTM)
Diffstat (limited to 'numpy/distutils/command')
-rw-r--r--numpy/distutils/command/build_ext.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py
index ab9d585a5..ef54fb25e 100644
--- a/numpy/distutils/command/build_ext.py
+++ b/numpy/distutils/command/build_ext.py
@@ -281,8 +281,8 @@ class build_ext (old_build_ext):
runtime_lib = os.path.join(self.extra_dll_dir, fn)
copy_file(runtime_lib, shared_lib_dir)
- def swig_sources(self, sources):
- # Do nothing. Swig sources have beed handled in build_src command.
+ def swig_sources(self, sources, extensions=None):
+ # Do nothing. Swig sources have been handled in build_src command.
return sources
def build_extension(self, ext):