summaryrefslogtreecommitdiff
path: root/numpy/lib/io.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2008-05-13 16:40:19 +0000
committerTravis Oliphant <oliphant@enthought.com>2008-05-13 16:40:19 +0000
commite3d0fec968a54a144de203a25d52e059b7447065 (patch)
treec731f0ccabad52fc729e5b43e54d1360d092b5eb /numpy/lib/io.py
parentb6ef006ba71899914ddb2867eba0a95d081c937d (diff)
downloadnumpy-e3d0fec968a54a144de203a25d52e059b7447065.tar.gz
Fix ticket #791.
Diffstat (limited to 'numpy/lib/io.py')
-rw-r--r--numpy/lib/io.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/io.py b/numpy/lib/io.py
index c15e40bba..709a2445a 100644
--- a/numpy/lib/io.py
+++ b/numpy/lib/io.py
@@ -428,7 +428,7 @@ def savetxt(fname, X, fmt='%.18e',delimiter=' '):
import re
def fromregex(file, regexp, dtype):
- """Construct a record array from a text file, using regular-expressions parsing.
+ """Construct an array from a text file, using regular-expressions parsing.
Array is constructed from all matches of the regular expression
in the file. Groups in the regular expression are converted to fields.
@@ -440,7 +440,7 @@ def fromregex(file, regexp, dtype):
regexp : str or regexp
Regular expression to use to parse the file
dtype : dtype or dtype list
- Dtype for the record array
+ Dtype for the structured array
Example
-------