diff options
author | Aaron Meurer <asmeurer@gmail.com> | 2021-05-20 16:38:44 -0600 |
---|---|---|
committer | Aaron Meurer <asmeurer@gmail.com> | 2021-05-20 16:38:44 -0600 |
commit | be1ee6c93e63da3a7766a504304755283fb1411a (patch) | |
tree | 37a630d473e9765af57749d345674ec3e943290f /numpy/_array_api/_manipulation_functions.py | |
parent | 96f40fed3f08043986adb3db860cf0e647b27085 (diff) | |
download | numpy-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.py | 2 |
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>`. |