diff options
author | Anis Ladram <anis.ladram@epita.fr> | 2019-11-29 15:03:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 15:03:01 +0100 |
commit | 905dd9a34707cf4bd4b5533b12a68e027751ab92 (patch) | |
tree | f654ce6e2b8f3ccbd23a546f9d3ffd8f5cc6f5fe /numpy/lib/npyio.py | |
parent | 0725a58415e68eab9fa7d7389cdb40716447a4fb (diff) | |
download | numpy-905dd9a34707cf4bd4b5533b12a68e027751ab92.tar.gz |
DOC: Fix typo in numpy.loadtxt documentation
Parameter fname: generator must return byte strings for Python 3, not Python3k.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 430d44374..3dfc8521e 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -833,7 +833,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, fname : file, str, or pathlib.Path File, filename, or generator to read. If the filename extension is ``.gz`` or ``.bz2``, the file is first decompressed. Note that - generators should return byte strings for Python 3k. + generators should return byte strings for Python 3. dtype : data-type, optional Data-type of the resulting array; default: float. If this is a structured data-type, the resulting array will be 1-dimensional, and |