summaryrefslogtreecommitdiff
path: root/numpy/lib/io.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/io.py')
-rw-r--r--numpy/lib/io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/io.py b/numpy/lib/io.py
index e2c3933bf..424df21a6 100644
--- a/numpy/lib/io.py
+++ b/numpy/lib/io.py
@@ -270,7 +270,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, converters=None,
>>> X = loadtxt('test.dat') # data in two columns
>>> x,y,z = load('somefile.dat', usecols=(3,5,7), unpack=True)
>>> r = np.loadtxt('record.dat', dtype={'names':('gender','age','weight'),
- 'formats': ('S1','i4', 'f4')})
+ ... 'formats': ('S1','i4', 'f4')})
SeeAlso: scipy.io.loadmat to read and write matfiles.
"""