diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2022-01-24 13:04:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 13:04:44 -0700 |
commit | 986a8797b9bf7ccb499861bb46ec8ce13fb720ec (patch) | |
tree | 2c00d456bc387b54df3c57e4930c43aadd0240c7 /numpy/lib/function_base.pyi | |
parent | 932202d24c399f46161caa7464446b55e27fa947 (diff) | |
parent | 2906e917e6befb68b02eeaec78a7a2a024073686 (diff) | |
download | numpy-986a8797b9bf7ccb499861bb46ec8ce13fb720ec.tar.gz |
Merge pull request #20885 from BvB93/param_spec
TYP,ENH: Improve typing with the help of `ParamSpec`
Diffstat (limited to 'numpy/lib/function_base.pyi')
-rw-r--r-- | numpy/lib/function_base.pyi | 2 |
1 files changed, 2 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], |