summaryrefslogtreecommitdiff
path: root/numpy/lib/_iotools.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-04-02 13:08:29 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-04-02 13:08:29 -0600
commite05da9e451c0dcbc892423601edd7c354117456e (patch)
tree73f0fb74e620bf8f4d388b702d6ba73b71cd7e16 /numpy/lib/_iotools.py
parentf9c7bde68655de06546f5c8dba30314888e409cc (diff)
downloadnumpy-e05da9e451c0dcbc892423601edd7c354117456e.tar.gz
WHT: Cleanup trailing whitespace.
Diffstat (limited to 'numpy/lib/_iotools.py')
-rw-r--r--numpy/lib/_iotools.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py
index e24583ec1..0bef8e5b9 100644
--- a/numpy/lib/_iotools.py
+++ b/numpy/lib/_iotools.py
@@ -42,7 +42,7 @@ def _to_filehandle(fname, flag='r', return_opened=False):
"""
Returns the filehandle corresponding to a string or a file.
If the string ends in '.gz', the file is automatically unzipped.
-
+
Parameters
----------
fname : string, filehandle
@@ -512,11 +512,11 @@ class StringConverter:
"""
Upgrade the mapper of a StringConverter by adding a new function and its
corresponding default.
-
- The input function (or sequence of functions) and its associated default
+
+ The input function (or sequence of functions) and its associated default
value (if any) is inserted in penultimate position of the mapper.
The corresponding type is estimated from the dtype of the default value.
-
+
Parameters
----------
func : var
@@ -835,4 +835,3 @@ def easy_dtype(ndtype, names=None, defaultfmt="f%i", **validationargs):
else:
ndtype.names = validate(ndtype.names, defaultfmt=defaultfmt)
return ndtype
-