Skip to content

Commit 2932e91

Browse files
bsipoczmattip
andauthored
Fix grammar [skip ci]
Co-authored-by: Matti Picus <[email protected]>
1 parent 569fc6a commit 2932e91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/lib/recfunctions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _get_fieldspec(dtype):
106106
def get_names(adtype):
107107
"""
108108
Returns the field names of the input datatype as a tuple. Input datatype
109-
has to have fields otherwise error is raised.
109+
must have fields otherwise error is raised.
110110
111111
Parameters
112112
----------
@@ -138,7 +138,7 @@ def get_names(adtype):
138138
def get_names_flat(adtype):
139139
"""
140140
Returns the field names of the input datatype as a tuple. Input datatype
141-
has to have fields otherwise error is raised.
141+
must have fields otherwise error is raised.
142142
Nested structure are flattened beforehand.
143143
144144
Parameters

0 commit comments

Comments
 (0)