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.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
-------