summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-07-27 20:25:45 -0700
committerGitHub <noreply@github.com>2021-07-27 20:25:45 -0700
commit402802d8a16da735017bbefa8621a91f5707beba (patch)
treeca3f9612f319fcf94942c91d40da36bae54bbfcf /numpy/core/numeric.py
parent77bc3225e6f4badf83190ec300a0e10e56949644 (diff)
parent0ccdd6fc1b30f767b1148690e1b73fd1b399c4ff (diff)
downloadnumpy-402802d8a16da735017bbefa8621a91f5707beba.tar.gz
Merge pull request #19572 from AnirudhDagar/remove-move_axis_to_0
MAINT: Cleanup unused function _move_axis_to_0
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 8bb37e291..813063adb 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -1466,11 +1466,6 @@ def moveaxis(a, source, destination):
return result
-# fix hack in scipy which imports this function
-def _move_axis_to_0(a, axis):
- return moveaxis(a, axis, 0)
-
-
def _cross_dispatcher(a, b, axisa=None, axisb=None, axisc=None, axis=None):
return (a, b)