diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2022-01-24 12:31:20 +0100 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2022-01-24 14:00:46 +0100 |
commit | 2906e917e6befb68b02eeaec78a7a2a024073686 (patch) | |
tree | 8415ed8f58ef67ad6b39222b52c2432fba61fd19 /numpy/lib/shape_base.pyi | |
parent | 11bc3d314038a92671c97ca33eee650f046a3029 (diff) | |
download | numpy-2906e917e6befb68b02eeaec78a7a2a024073686.tar.gz |
TYP: Mark annotations that can be improved with `Concatenate` once mypy supports it
Diffstat (limited to 'numpy/lib/shape_base.pyi')
-rw-r--r-- | numpy/lib/shape_base.pyi | 2 |
1 files changed, 2 insertions, 0 deletions
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]], |