summaryrefslogtreecommitdiff
path: root/numpy/lib/arraypad.pyi
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-08-31 12:03:27 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-08-31 12:06:25 +0200
commit45e43d72494a993188d809ef676fe3648a79e7bf (patch)
treeec0ac1f971d1d60109cedae8ed07181c6119986f /numpy/lib/arraypad.pyi
parentb21ad7c5ee0cd76ea41bb519877804457d1776f8 (diff)
downloadnumpy-45e43d72494a993188d809ef676fe3648a79e7bf.tar.gz
STY: Use the PEP 457 positional-only syntax in the stub files
Diffstat (limited to 'numpy/lib/arraypad.pyi')
-rw-r--r--numpy/lib/arraypad.pyi9
1 files changed, 5 insertions, 4 deletions
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[