diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-08-03 12:54:55 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-08-03 12:54:55 -0600 |
commit | 8f847006642a02636c7a3c6c2f54d3446908606d (patch) | |
tree | 1b81f99fc21cb424bf3316684828ed95a842e2e2 /numpy | |
parent | 3c4db4111947270b97ae032f02b6f60d8e20bbbd (diff) | |
download | numpy-8f847006642a02636c7a3c6c2f54d3446908606d.tar.gz |
DOC: Docstring capitalization/sentence fixes in numpy/ma/core.py.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/ma/core.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py index 1ef063eda..37836a0a0 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -373,17 +373,17 @@ def maximum_fill_value(obj): def _recursive_set_default_fill_value(dt): """ - Creates the default fill value for structured dtypes + Create the default fill value for a structured dtype. Parameters ---------- dt: dtype - structured dtype + The structured dtype for which to create the fill value. Returns ------- val: tuple - tuple of values corresponding to the default structured fill value + A tuple of values corresponding to the default structured fill value. """ deflist = [] @@ -402,20 +402,20 @@ def _recursive_set_default_fill_value(dt): def _recursive_set_fill_value(fillvalue, dt): """ - Creates a fill value for structured dtypes + Create a fill value for a structured dtype. Parameters ---------- fillvalue: scalar or array_like - scalar or array representing the fill value. If it is of shorter + Scalar or array representing the fill value. If it is of shorter length than the number of fields in dt, it will be resized. dt: dtype - structured dtype + The structured dtype for which to create the fill value. Returns ------- val: tuple - tuple of values corresponding to the structured fill value + A tuple of values corresponding to the structured fill value. """ fillvalue = np.resize(fillvalue, len(dt.names)) |