diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi index f22692c02cd5..570d84c1cc35 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -4368,4 +4368,4 @@ class chararray(ndarray[_ShapeType, _CharDType]): class _SupportsDLPack(Protocol[_T_contra]): def __dlpack__(self, *, stream: None | _T_contra = ...) -> _PyCapsule: ... -def from_dlpack(__obj: _SupportsDLPack[None]) -> NDArray[Any]: ... +def from_dlpack(obj: _SupportsDLPack[None], /) -> NDArray[Any]: ... diff --git a/numpy/lib/npyio.pyi b/numpy/lib/npyio.pyi index 231ed75842d2..8007b2dc717b 100644 --- a/numpy/lib/npyio.pyi +++ b/numpy/lib/npyio.pyi @@ -143,6 +143,7 @@ def loadtxt( encoding: None | str = ..., max_rows: None | int = ..., *, + quotechar: None | str = ..., like: None | _SupportsArrayFunc = ... ) -> NDArray[float64]: ... @overload @@ -159,6 +160,7 @@ def loadtxt( encoding: None | str = ..., max_rows: None | int = ..., *, + quotechar: None | str = ..., like: None | _SupportsArrayFunc = ... ) -> NDArray[_SCT]: ... @overload @@ -175,6 +177,7 @@ def loadtxt( encoding: None | str = ..., max_rows: None | int = ..., *, + quotechar: None | str = ..., like: None | _SupportsArrayFunc = ... ) -> NDArray[Any]: ...