From d22a71bab7b787527035d5eb87ca3bc5acb0f88e Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Sat, 21 Oct 2017 13:02:41 -0700 Subject: MAINT: Remove unused isscalar import --- numpy/lib/shape_base.py | 2 +- numpy/linalg/linalg.py | 2 +- 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 -- cgit v1.2.3