summaryrefslogtreecommitdiff
path: root/numpy/_array_api/_manipulation_functions.py
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-05-20 16:38:44 -0600
committerAaron Meurer <asmeurer@gmail.com>2021-05-20 16:38:44 -0600
commitbe1ee6c93e63da3a7766a504304755283fb1411a (patch)
tree37a630d473e9765af57749d345674ec3e943290f /numpy/_array_api/_manipulation_functions.py
parent96f40fed3f08043986adb3db860cf0e647b27085 (diff)
downloadnumpy-be1ee6c93e63da3a7766a504304755283fb1411a.tar.gz
Update signatures from the latest version of the array API spec
Diffstat (limited to 'numpy/_array_api/_manipulation_functions.py')
-rw-r--r--numpy/_array_api/_manipulation_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/_array_api/_manipulation_functions.py b/numpy/_array_api/_manipulation_functions.py
index b461f6b6b..5f7b0a451 100644
--- a/numpy/_array_api/_manipulation_functions.py
+++ b/numpy/_array_api/_manipulation_functions.py
@@ -50,7 +50,7 @@ def roll(x: array, /, shift: Union[int, Tuple[int, ...]], *, axis: Optional[Unio
"""
return ndarray._new(np.roll(x._array, shift, axis=axis))
-def squeeze(x: array, /, *, axis: Optional[Union[int, Tuple[int, ...]]] = None) -> array:
+def squeeze(x: array, /, axis: Optional[Union[int, Tuple[int, ...]]] = None) -> array:
"""
Array API compatible wrapper for :py:func:`np.squeeze <numpy.squeeze>`.