From 2932e9110c889703e8edf16e4167f1acc0cb99cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Sat, 21 May 2022 21:48:08 -0700 Subject: Fix grammar [skip ci] Co-authored-by: Matti Picus --- numpy/lib/recfunctions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib/recfunctions.py') 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 -- cgit v1.2.1