diff options
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/function_base.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/shape_base.pyi | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/function_base.pyi b/numpy/lib/function_base.pyi index 6e2f886cf..3b40d3f1c 100644 --- a/numpy/lib/function_base.pyi +++ b/numpy/lib/function_base.pyi @@ -195,6 +195,8 @@ def asarray_chkfinite( order: _OrderKACF = ..., ) -> NDArray[Any]: ... +# TODO: Use PEP 612 `ParamSpec` once mypy supports `Concatenate` +# xref python/mypy#8645 @overload def piecewise( x: _ArrayLike[_SCT], diff --git a/numpy/lib/shape_base.pyi b/numpy/lib/shape_base.pyi index 82702e67c..f8f86128c 100644 --- a/numpy/lib/shape_base.pyi +++ b/numpy/lib/shape_base.pyi @@ -77,6 +77,8 @@ def put_along_axis( axis: None | int, ) -> None: ... +# TODO: Use PEP 612 `ParamSpec` once mypy supports `Concatenate` +# xref python/mypy#8645 @overload def apply_along_axis( func1d: Callable[..., _ArrayLike[_SCT]], |