8000 Merge pull request #16515 from person142/add-type-stubs · numpy/numpy@e73c8e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit e73c8e5

Browse files
authored
Merge pull request #16515 from person142/add-type-stubs
ENH: add type stubs from numpy-stubs
2 parents d647ef2 + 2e238e4 commit e73c8e5

36 files changed

+2516
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
NumPy is now typed
2+
------------------
3+
Type annotations have been added for large parts of NumPy. There is
4+
also a new `numpy.typing` module that contains useful types for
5+
end-users. The currently available types are
6+
7+
- ``ArrayLike``: for objects that can be coerced to an array
8+
- ``DtypeLike``: for objects that can be coerced to a dtype

0 commit comments

Comments
 (0)
0