diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2022-01-28 10:07:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-28 10:07:45 +0100 |
commit | 62b348239ec43edf47d384b34cd83825293925c9 (patch) | |
tree | 0792dce0b301fee6ecfcb296c5962cd266414de7 /numpy/core/fromnumeric.pyi | |
parent | 8f8e14ef6150100bf2872a449877f97897b18b06 (diff) | |
parent | 46e67d33d405d8f6033a0739944429820f8bac47 (diff) | |
download | numpy-62b348239ec43edf47d384b34cd83825293925c9.tar.gz |
Merge pull request #20918 from janusheide/add-missing-where-typehints
TYP: Added missing where typehints in fromnumeric.pyi
Diffstat (limited to 'numpy/core/fromnumeric.pyi')
-rw-r--r-- | numpy/core/fromnumeric.pyi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.pyi b/numpy/core/fromnumeric.pyi index 7f11cff4d..9cb6847d6 100644 --- a/numpy/core/fromnumeric.pyi +++ b/numpy/core/fromnumeric.pyi @@ -339,6 +339,8 @@ def all( axis: None = ..., out: None = ..., keepdims: Literal[False] = ..., + *, + where: _ArrayLikeBool_co = ..., ) -> bool_: ... @overload def all( @@ -346,6 +348,8 @@ def all( axis: None | _ShapeLike = ..., out: None | ndarray = ..., keepdims: bool = ..., + *, + where: _ArrayLikeBool_co = ..., ) -> Any: ... @overload @@ -354,6 +358,8 @@ def any( axis: None = ..., out: None = ..., keepdims: Literal[False] = ..., + *, + where: _ArrayLikeBool_co = ..., ) -> bool_: ... @overload def any( @@ -361,6 +367,8 @@ def any( axis: None | _ShapeLike = ..., out: None | ndarray = ..., keepdims: bool = ..., + *, + where: _ArrayLikeBool_co = ..., ) -> Any: ... def cumsum( @@ -435,6 +443,8 @@ def mean( dtype: DTypeLike = ..., out: None | ndarray = ..., keepdims: bool = ..., + *, + where: _ArrayLikeBool_co = ..., ) -> Any: ... def std( @@ -444,6 +454,8 @@ def std( out: None | ndarray = ..., ddof: int = ..., keepdims: bool = ..., + *, + where: _ArrayLikeBool_co = ..., ) -> Any: ... def var( @@ -453,4 +465,6 @@ def var( out: None | ndarray = ..., ddof: int = ..., keepdims: bool = ..., + *, + where: _ArrayLikeBool_co = ..., ) -> Any: ... |