summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorJanus Heide <janusheide@gmail.com>2022-01-28 09:01:01 +0100
committerJanus Heide <janusheide@gmail.com>2022-01-28 09:01:01 +0100
commit38a84bc45b4ca9f3198aa9e86ca0681e60f410f1 (patch)
treef7bc0eeeca4d3957b404b5235d0ab800c628e897 /numpy
parent834333aa0f17d829277f07c15cee54316a888c50 (diff)
downloadnumpy-38a84bc45b4ca9f3198aa9e86ca0681e60f410f1.tar.gz
consistency between keyword only where arguments
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/fromnumeric.pyi6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.pyi b/numpy/core/fromnumeric.pyi
index cebf75188..bf2d8625b 100644
--- a/numpy/core/fromnumeric.pyi
+++ b/numpy/core/fromnumeric.pyi
@@ -257,6 +257,7 @@ def all(
axis: None | _ShapeLike = ...,
out: None | ndarray = ...,
keepdims: bool = ...,
+ *,
where: _ArrayLikeBool_co = ...,
) -> Any: ...
@@ -266,6 +267,7 @@ def any(
axis: None = ...,
out: None = ...,
keepdims: Literal[False] = ...,
+ *,
where: _ArrayLikeBool_co = ...,
) -> bool_: ...
@overload
@@ -274,6 +276,7 @@ def any(
axis: None | _ShapeLike = ...,
out: None | ndarray = ...,
keepdims: bool = ...,
+ *,
where: _ArrayLikeBool_co = ...,
) -> Any: ...
@@ -349,6 +352,7 @@ def mean(
dtype: DTypeLike = ...,
out: None | ndarray = ...,
keepdims: bool = ...,
+ *,
where: _ArrayLikeBool_co = ...,
) -> Any: ...
@@ -359,6 +363,7 @@ def std(
out: None | ndarray = ...,
ddof: int = ...,
keepdims: bool = ...,
+ *,
where: _ArrayLikeBool_co = ...,
) -> Any: ...
@@ -369,5 +374,6 @@ def var(
out: None | ndarray = ...,
ddof: int = ...,
keepdims: bool = ...,
+ *,
where: _ArrayLikeBool_co = ...,
) -> Any: ...