diff options
author | Bas van Beek <bas.vanbeek@hotmail.com> | 2023-05-16 14:28:41 +0200 |
---|---|---|
committer | Bas van Beek <bas.vanbeek@hotmail.com> | 2023-05-16 14:28:41 +0200 |
commit | c231f8084dcaeb76452e915022b7f763fe5e8deb (patch) | |
tree | edb27c87b33adf11bde86c22b7918e4e45aa0de3 /numpy/lib | |
parent | 921a97e6bd43beaa5495ff08c5794e373e2cdaad (diff) | |
download | numpy-c231f8084dcaeb76452e915022b7f763fe5e8deb.tar.gz |
TYP: Relax the `genfromtxt` return dtype when the dtype is unspecified
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/npyio.pyi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.pyi b/numpy/lib/npyio.pyi index cc81e82b7..ef0f2a5f1 100644 --- a/numpy/lib/npyio.pyi +++ b/numpy/lib/npyio.pyi @@ -239,7 +239,7 @@ def genfromtxt( *, ndmin: L[0, 1, 2] = ..., like: None | _SupportsArrayFunc = ..., -) -> NDArray[float64]: ... +) -> NDArray[Any]: ... @overload def genfromtxt( fname: str | os.PathLike[str] | Iterable[str] | Iterable[bytes], |