From 45e43d72494a993188d809ef676fe3648a79e7bf Mon Sep 17 00:00:00 2001 From: Bas van Beek Date: Tue, 31 Aug 2021 12:03:27 +0200 Subject: STY: Use the PEP 457 positional-only syntax in the stub files --- numpy/lib/arraypad.pyi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'numpy/lib/arraypad.pyi') diff --git a/numpy/lib/arraypad.pyi b/numpy/lib/arraypad.pyi index d6e07a6bd..49ce8e683 100644 --- a/numpy/lib/arraypad.pyi +++ b/numpy/lib/arraypad.pyi @@ -24,10 +24,11 @@ _SCT = TypeVar("_SCT", bound=generic) class _ModeFunc(Protocol): def __call__( self, - __vector: NDArray[Any], - __iaxis_pad_width: Tuple[int, int], - __iaxis: int, - __kwargs: Dict[str, Any], + vector: NDArray[Any], + iaxis_pad_width: Tuple[int, int], + iaxis: int, + kwargs: Dict[str, Any], + /, ) -> None: ... _ModeKind = L[ -- cgit v1.2.1