diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2021-08-03 10:33:59 +0300 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2021-08-03 10:33:59 +0300 |
commit | 960ce4c7222004b825469f345ce7e2cac131f705 (patch) | |
tree | 15ce5961c66b472c0a561dcac3f5bc4a43cf4bf7 /numpy/lib/npyio.py | |
parent | 3d6a75df56bbe7e45e4f25e5f7c66337367e406d (diff) | |
download | numpy-960ce4c7222004b825469f345ce7e2cac131f705.tar.gz |
DOC: add compat release note.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 9581cc1d9..ff8aa1349 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -1077,7 +1077,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, fencoding = getattr(fname, 'encoding', 'latin1') except TypeError as e: raise TypeError( - f"fname must be a string, filehandle, list of strings, " + f"fname must be a string, filehandle, list of strings,\n" f"or generator. Got {type(fname)} instead." ) from e @@ -1803,7 +1803,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None, fhd = iter(fid) except TypeError as e: raise TypeError( - f"fname must be a string, filehandle, list of strings, " + f"fname must be a string, filehandle, list of strings,\n" f"or generator. Got {type(fname)} instead." ) from e |