Skip to content

Commit 402802d

Browse files
authored
Merge pull request numpy#19572 from AnirudhDagar/remove-move_axis_to_0
MAINT: Cleanup unused function _move_axis_to_0
2 parents 77bc322 + 0ccdd6f commit 402802d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

numpy/core/numeric.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,11 +1466,6 @@ def moveaxis(a, source, destination):
14661466
return result
14671467

14681468

1469-
# fix hack in scipy which imports this function
1470-
def _move_axis_to_0(a, axis):
1471-
return moveaxis(a, axis, 0)
1472-
1473-
14741469
def _cross_dispatcher(a, b, axisa=None, axisb=None, axisc=None, axis=None):
14751470
return (a, b)
14761471

0 commit comments

Comments
 (0)