From e3d0fec968a54a144de203a25d52e059b7447065 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Tue, 13 May 2008 16:40:19 +0000 Subject: Fix ticket #791. --- numpy/lib/io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib/io.py') 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 ------- -- cgit v1.2.1