diff options
author | Brigitta Sipőcz <b.sipocz@gmail.com> | 2022-05-21 21:48:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-21 21:48:08 -0700 |
commit | 2932e9110c889703e8edf16e4167f1acc0cb99cb (patch) | |
tree | 1f5ba465257e27da5942cd434ebf9b636e2c97c4 /numpy/lib/recfunctions.py | |
parent | 569fc6a40ea53054409e00c7d1c0e7f5f53cb0ce (diff) | |
download | numpy-2932e9110c889703e8edf16e4167f1acc0cb99cb.tar.gz |
Fix grammar [skip ci]
Co-authored-by: Matti Picus <matti.picus@gmail.com>
Diffstat (limited to 'numpy/lib/recfunctions.py')
-rw-r--r-- | numpy/lib/recfunctions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/recfunctions.py b/numpy/lib/recfunctions.py index ba9f9dd32..4a27c3286 100644 --- a/numpy/lib/recfunctions.py +++ b/numpy/lib/recfunctions.py @@ -106,7 +106,7 @@ def _get_fieldspec(dtype): def get_names(adtype): """ Returns the field names of the input datatype as a tuple. Input datatype - has to have fields otherwise error is raised. + must have fields otherwise error is raised. Parameters ---------- @@ -138,7 +138,7 @@ def get_names(adtype): def get_names_flat(adtype): """ Returns the field names of the input datatype as a tuple. Input datatype - has to have fields otherwise error is raised. + must have fields otherwise error is raised. Nested structure are flattened beforehand. Parameters |