summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-05-06 13:16:31 -0600
committerGitHub <noreply@github.com>2018-05-06 13:16:31 -0600
commit88c3d259dcafabbd5270c710ecc29ba45b5ce400 (patch)
treecee8abbcc32583791bcf56a2807a0f6f3cd84acc
parent9eb14b74ee50f31e6cf83b14c193af0b98326c9a (diff)
parent406ccc9c574555ebdbda3de6abfc44a833f523e7 (diff)
downloadnumpy-88c3d259dcafabbd5270c710ecc29ba45b5ce400.tar.gz
Merge pull request #11055 from xuhdev/loadtxt-comments-none
DOC: Add explanation for comments=None in loadtxt.
-rw-r--r--numpy/lib/npyio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 97f50b5d8..76cc07ff1 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -791,8 +791,8 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None,
the data-type.
comments : str or sequence of str, optional
The characters or list of characters used to indicate the start of a
- comment. For backwards compatibility, byte strings will be decoded as
- 'latin1'. The default is '#'.
+ comment. None implies no comments. For backwards compatibility, byte
+ strings will be decoded as 'latin1'. The default is '#'.
delimiter : str, optional
The string used to separate values. For backwards compatibility, byte
strings will be decoded as 'latin1'. The default is whitespace.