summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.pyi
diff options
context:
space:
mode:
authorslepton <slepton@posteo.de>2021-07-07 21:25:53 +0200
committerslepton <slepton@posteo.de>2021-07-07 21:25:53 +0200
commitd19584547a7934bfce9dee445e65a2c1994cecdc (patch)
tree2013779442bff7d9f47464fd3a1b6ba755b0070d /numpy/core/fromnumeric.pyi
parent5ac75798362cea6ecbd602a46b80c297b0f6712a (diff)
parentde245cd133699f8c23f97ec07ec29703e37a5923 (diff)
downloadnumpy-d19584547a7934bfce9dee445e65a2c1994cecdc.tar.gz
Merge remote-tracking branch 'origin/main' into main
Diffstat (limited to 'numpy/core/fromnumeric.pyi')
-rw-r--r--numpy/core/fromnumeric.pyi8
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