Skip to content

Commit 734e90b

Browse files
committed
reshape shape to use *
1 parent 943cd49 commit 734e90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroid/brain/brain_numpy_ndarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def ptp(self, axis=None, out=None): return np.ndarray([0, 0])
120120
def put(self, indices, values, mode='raise'): return None
121121
def ravel(self, order='C'): return np.ndarray([0, 0])
122122
def repeat(self, repeats, axis=None): return np.ndarray([0, 0])
123-
def reshape(self, shape, order='C'): return np.ndarray([0, 0])
123+
def reshape(self, *shape, order='C'): return np.ndarray([0, 0])
124124
def resize(self, new_shape, refcheck=True): return None
125125
def round(self, decimals=0, out=None): return np.ndarray([0, 0])
126126
def searchsorted(self, v, side='left', sorter=None): return np.ndarray([0, 0])

0 commit comments

Comments
 (0)