Skip to content

Commit ac5614f

Browse files
authored
Merge pull request numpy#26377 from arunkannawadi/numpy#26376
TYP: Fix incorrect type hint for creating a recarray from fromrecords
2 parents 1e53863 + c28d8ee commit ac5614f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/records.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def fromrecords(
174174
dtype: None = ...,
175175
shape: None | _ShapeLike = ...,
176176
*,
177-
formats: DTypeLike,
177+
formats: DTypeLike = ...,
178178
names: None | str | Sequence[str] = ...,
179179
titles: None | str | Sequence[str] = ...,
180180
aligned: bool = ...,

0 commit comments

Comments
 (0)