summaryrefslogtreecommitdiff
path: root/numpy/lib/arraysetops.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-07-30 16:48:11 -0600
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-07-31 21:21:13 +0200
commitdec6658cdc10a23ad0e733fb52a814306033d88c (patch)
treedfa2a5d879f9ec10f75287a045070729cf415432 /numpy/lib/arraysetops.py
parent0b5a6645ee110a8d4c6b5defd8c01791ee48bda1 (diff)
downloadnumpy-dec6658cdc10a23ad0e733fb52a814306033d88c.tar.gz
MAINT: Fixes for problems in numpy/lib revealed by pyflakes.
Some of those problems look like potential coding errors. In those cases a Fixme comment was made and the offending code, usually an unused variable, was commented out.
Diffstat (limited to 'numpy/lib/arraysetops.py')
-rw-r--r--numpy/lib/arraysetops.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py
index 005703d16..42555d30f 100644
--- a/numpy/lib/arraysetops.py
+++ b/numpy/lib/arraysetops.py
@@ -26,11 +26,14 @@ To do: Optionally return indices analogously to unique for all functions.
"""
from __future__ import division, absolute_import, print_function
-__all__ = ['ediff1d', 'intersect1d', 'setxor1d', 'union1d', 'setdiff1d',
- 'unique', 'in1d']
-
import numpy as np
-from numpy.lib.utils import deprecate
+
+
+__all__ = [
+ 'ediff1d', 'intersect1d', 'setxor1d', 'union1d', 'setdiff1d', 'unique',
+ 'in1d'
+ ]
+
def ediff1d(ary, to_end=None, to_begin=None):
"""