diff options
author | Robert Kern <robert.kern@gmail.com> | 2008-02-28 06:31:48 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2008-02-28 06:31:48 +0000 |
commit | 761566177170684147e4407ef75479d83dd9d189 (patch) | |
tree | bbff7fbad54bd946d1346dcf3ad8bd06fca06b0e /numpy/lib/io.py | |
parent | 466ee4bed63168e0ca76e411da6f44f9d68d8eb6 (diff) | |
download | numpy-761566177170684147e4407ef75479d83dd9d189.tar.gz |
Typo.
Diffstat (limited to 'numpy/lib/io.py')
-rw-r--r-- | numpy/lib/io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/io.py b/numpy/lib/io.py index dce93af76..07fe5ce6b 100644 --- a/numpy/lib/io.py +++ b/numpy/lib/io.py @@ -295,7 +295,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, converters=None, if i<skiprows: continue comment_start = line.find(comments) if comment_start > 0: - line = line[:comments_start].strip() + line = line[:comment_start].strip() else: line = line.strip() if not len(line): continue |