summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.pyi
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2022-01-24 12:31:20 +0100
committerBas van Beek <b.f.van.beek@vu.nl>2022-01-24 14:00:46 +0100
commit2906e917e6befb68b02eeaec78a7a2a024073686 (patch)
tree8415ed8f58ef67ad6b39222b52c2432fba61fd19 /numpy/lib/function_base.pyi
parent11bc3d314038a92671c97ca33eee650f046a3029 (diff)
downloadnumpy-2906e917e6befb68b02eeaec78a7a2a024073686.tar.gz
TYP: Mark annotations that can be improved with `Concatenate` once mypy supports it
Diffstat (limited to 'numpy/lib/function_base.pyi')
-rw-r--r--numpy/lib/function_base.pyi2
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],