Skip to content

DOC: Fix typo in numpy.loadtxt and numpy.genfromtxt documentation #15009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 30, 2019
Merged

DOC: Fix typo in numpy.loadtxt and numpy.genfromtxt documentation #15009

merged 2 commits into from
Nov 30, 2019

Conversation

aladram
Copy link
Contributor

@aladram aladram commented Nov 29, 2019

Parameter fname: generator must return byte strings for Python 3, not Python3k.

I don't know if this change is relevant regarding upcoming numpy for Python 2 depreciation, but... 🤷‍♂️

Parameter fname: generator must return byte strings for Python 3, not Python3k.
@@ -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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just "generators should return byte strings."

@aladram aladram changed the title DOC: Fix typo in numpy.loadtxt documentation DOC: Fix typo in numpy.loadtxt and numpy.genfromtxt documentation Nov 29, 2019
@mattip mattip merged commit ddcd075 into numpy:master Nov 30, 2019
@mattip
Copy link
Member

mattip commented Nov 30, 2019

Thanks @anis-ladram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants