summaryrefslogtreecommitdiff
path: root/numpy/lib/shape_base.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/shape_base.pyi')
-rw-r--r--numpy/lib/shape_base.pyi10
1 files changed, 6 insertions, 4 deletions
diff --git a/numpy/lib/shape_base.pyi b/numpy/lib/shape_base.pyi
index 4c275cc8c..1598dc36c 100644
--- a/numpy/lib/shape_base.pyi
+++ b/numpy/lib/shape_base.pyi
@@ -38,15 +38,17 @@ _ArrayLike = _NestedSequence[_SupportsDType[dtype[_SCT]]]
class _ArrayWrap(Protocol):
def __call__(
self,
- __array: NDArray[Any],
- __context: None | Tuple[ufunc, Tuple[Any, ...], int] = ...,
+ array: NDArray[Any],
+ context: None | Tuple[ufunc, Tuple[Any, ...], int] = ...,
+ /,
) -> Any: ...
class _ArrayPrepare(Protocol):
def __call__(
self,
- __array: NDArray[Any],
- __context: None | Tuple[ufunc, Tuple[Any, ...], int] = ...,
+ array: NDArray[Any],
+ context: None | Tuple[ufunc, Tuple[Any, ...], int] = ...,
+ /,
) -> Any: ...
class _SupportsArrayWrap(Protocol):