From 07bf33fbf5be8143aab037dc65aba3086f8badf6 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Wed, 5 Feb 2020 08:21:51 +1300 Subject: MAINT: cleanup unused imports; avoid redefinition of imports * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811) --- numpy/core/function_base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'numpy/core/function_base.py') diff --git a/numpy/core/function_base.py b/numpy/core/function_base.py index 8f92a4f71..6d49b9055 100644 --- a/numpy/core/function_base.py +++ b/numpy/core/function_base.py @@ -4,8 +4,7 @@ import operator import types from . import numeric as _nx -from .numeric import (result_type, NaN, shares_memory, MAY_SHARE_BOUNDS, - TooHardError, asanyarray, ndim) +from .numeric import result_type, NaN, asanyarray, ndim from numpy.core.multiarray import add_docstring from numpy.core import overrides -- cgit v1.2.1