summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorAnirudh Dagar <anirudhdagar6@gmail.com>2021-07-28 07:28:27 +0530
committerAnirudh Dagar <anirudhdagar6@gmail.com>2021-07-28 07:47:17 +0530
commit0ccdd6fc1b30f767b1148690e1b73fd1b399c4ff (patch)
treeca3f9612f319fcf94942c91d40da36bae54bbfcf /numpy
parent77bc3225e6f4badf83190ec300a0e10e56949644 (diff)
downloadnumpy-0ccdd6fc1b30f767b1148690e1b73fd1b399c4ff.tar.gz
MAINT: Remove unused function _move_axis_to_0
Diffstat (limited to 'numpy')
-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)