From c404ce4d86ec588d420ac7366efa7d9ea9bd3e82 Mon Sep 17 00:00:00 2001 From: niboshi Date: Fri, 16 Jun 2017 10:52:29 +0900 Subject: [PATCH] Remove unused argument --- cupy/manipulation/dims.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cupy/manipulation/dims.py b/cupy/manipulation/dims.py index e9790c80c0c..dd015320c28 100644 --- a/cupy/manipulation/dims.py +++ b/cupy/manipulation/dims.py @@ -20,7 +20,7 @@ } -def _atleast_nd_helper(n, func_name, arys): +def _atleast_nd_helper(n, arys): """Helper function for atleast_nd functions.""" res = [] @@ -53,7 +53,7 @@ def atleast_1d(*arys): .. seealso:: :func:`numpy.atleast_1d` """ - return _atleast_nd_helper(1, 'atleast_1d', arys) + return _atleast_nd_helper(1, arys) def atleast_2d(*arys): @@ -73,7 +73,7 @@ def atleast_2d(*arys): .. seealso:: :func:`numpy.atleast_2d` """ - return _atleast_nd_helper(2, 'atleast_2d', arys) + return _atleast_nd_helper(2, arys) def atleast_3d(*arys): @@ -99,7 +99,7 @@ def atleast_3d(*arys): .. seealso:: :func:`numpy.atleast_3d` """ - return _atleast_nd_helper(3, 'atleast_3d', arys) + return _atleast_nd_helper(3, arys) broadcast = core.broadcast