summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-10-21 13:02:41 -0700
committerEric Wieser <wieser.eric@gmail.com>2017-10-21 13:03:31 -0700
commitd22a71bab7b787527035d5eb87ca3bc5acb0f88e (patch)
tree6be015dbcdabfe31836476320f7c4d644eace8f7
parent63e2f6d5ee34b759e419e29661a9823a4d8b069e (diff)
downloadpython-numpy-d22a71bab7b787527035d5eb87ca3bc5acb0f88e.tar.gz
python-numpy-d22a71bab7b787527035d5eb87ca3bc5acb0f88e.tar.bz2
python-numpy-d22a71bab7b787527035d5eb87ca3bc5acb0f88e.zip
MAINT: Remove unused isscalar import
-rw-r--r--numpy/lib/shape_base.py2
-rw-r--r--numpy/linalg/linalg.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py
index 53578e0e4..deab938ea 100644
--- a/numpy/lib/shape_base.py
+++ b/numpy/lib/shape_base.py
@@ -4,7 +4,7 @@ import warnings
import numpy.core.numeric as _nx
from numpy.core.numeric import (
- asarray, zeros, outer, concatenate, isscalar, array, asanyarray
+ asarray, zeros, outer, concatenate, array, asanyarray
)
from numpy.core.fromnumeric import product, reshape, transpose
from numpy.core.multiarray import normalize_axis_index
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index 2f738c8a6..8f2e45fa5 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -23,7 +23,7 @@ from numpy.core import (
csingle, cdouble, inexact, complexfloating, newaxis, ravel, all, Inf, dot,
add, multiply, sqrt, maximum, fastCopyAndTranspose, sum, isfinite, size,
finfo, errstate, geterrobj, longdouble, moveaxis, amin, amax, product, abs,
- broadcast, atleast_2d, intp, asanyarray, isscalar, object_, ones, matmul,
+ broadcast, atleast_2d, intp, asanyarray, object_, ones, matmul,
swapaxes, divide, count_nonzero
)
from numpy.core.multiarray import normalize_axis_index