diff options
author | slepton <slepton@posteo.de> | 2021-07-07 20:00:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 20:00:48 +0200 |
commit | de245cd133699f8c23f97ec07ec29703e37a5923 (patch) | |
tree | d1b485e30de04e078aa86f9e5f3466744fa505b9 /numpy/core/fromnumeric.pyi | |
parent | 87db3d1ae9a16edabd8f4818307616d8182d2a12 (diff) | |
parent | 068074f4acab87b0fabf194517b7dfb0f038af5a (diff) | |
download | numpy-de245cd133699f8c23f97ec07ec29703e37a5923.tar.gz |
Merge branch 'numpy:main' into main
Diffstat (limited to 'numpy/core/fromnumeric.pyi')
-rw-r--r-- | numpy/core/fromnumeric.pyi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.pyi b/numpy/core/fromnumeric.pyi index 3342ec3ac..45057e4b1 100644 --- a/numpy/core/fromnumeric.pyi +++ b/numpy/core/fromnumeric.pyi @@ -130,12 +130,16 @@ def argmax( a: ArrayLike, axis: None = ..., out: Optional[ndarray] = ..., + *, + keepdims: Literal[False] = ..., ) -> intp: ... @overload def argmax( a: ArrayLike, axis: Optional[int] = ..., out: Optional[ndarray] = ..., + *, + keepdims: bool = ..., ) -> Any: ... @overload @@ -143,12 +147,16 @@ def argmin( a: ArrayLike, axis: None = ..., out: Optional[ndarray] = ..., + *, + keepdims: Literal[False] = ..., ) -> intp: ... @overload def argmin( a: ArrayLike, axis: Optional[int] = ..., out: Optional[ndarray] = ..., + *, + keepdims: bool = ..., ) -> Any: ... @overload |