diff options
author | Francesc Elies <elies@posteo.net> | 2023-02-21 14:50:04 +0100 |
---|---|---|
committer | Francesc Elies <elies@posteo.net> | 2023-02-21 14:50:04 +0100 |
commit | 8816c76631af79c46a8cf33ac1a8a79b2717c9ac (patch) | |
tree | fe9e98ee13371e34049ce4b0080adc4717ed5188 /numpy/ctypeslib.pyi | |
parent | b657a75ca651368b2d29c221287046333c3f7580 (diff) | |
download | numpy-8816c76631af79c46a8cf33ac1a8a79b2717c9ac.tar.gz |
TYP,MAINT: Add a missing explicit Any parameter
Diffstat (limited to 'numpy/ctypeslib.pyi')
-rw-r--r-- | numpy/ctypeslib.pyi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ctypeslib.pyi b/numpy/ctypeslib.pyi index 0313cd82a..3edf98e14 100644 --- a/numpy/ctypeslib.pyi +++ b/numpy/ctypeslib.pyi @@ -91,10 +91,10 @@ class _ndptr(ctypes.c_void_p, Generic[_DTypeOptional]): @overload @classmethod - def from_param(cls: type[_ndptr[None]], obj: ndarray[Any, Any]) -> _ctypes: ... + def from_param(cls: type[_ndptr[None]], obj: ndarray[Any, Any]) -> _ctypes[Any]: ... @overload @classmethod - def from_param(cls: type[_ndptr[_DType]], obj: ndarray[Any, _DType]) -> _ctypes: ... + def from_param(cls: type[_ndptr[_DType]], obj: ndarray[Any, _DType]) -> _ctypes[Any]: ... class _concrete_ndptr(_ndptr[_DType]): _dtype_: ClassVar[_DType] |