diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-03-15 14:56:31 +0100 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-03-15 15:16:14 +0100 |
| commit | 564a71c29fae0b09eb8a44a96600a1f9a5b00a16 (patch) | |
| tree | 0e4c8d1c7db72635d8ffe7f0b838e8855a7afe7c /numpy/lib | |
| parent | 5db3366c4e879b8f779a0ae4048c7637854f1588 (diff) | |
| download | numpy-564a71c29fae0b09eb8a44a96600a1f9a5b00a16.tar.gz | |
MAINT: Re-export a number of sub-modules
Ensures that type checkers will allow the likes of:
>>> import numpy as np
>>> out = np.lib.stride_tricks.sliding_window_view(...)
Diffstat (limited to 'numpy/lib')
| -rw-r--r-- | numpy/lib/__init__.pyi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/numpy/lib/__init__.pyi b/numpy/lib/__init__.pyi index ec528d220..02ed56c8b 100644 --- a/numpy/lib/__init__.pyi +++ b/numpy/lib/__init__.pyi @@ -5,6 +5,13 @@ from numpy import ( ndindex as ndindex, ) +from numpy.lib import ( + format as format, + mixins as mixins, + scimath as scimath, + stride_tricks as stride_stricks, +) + from numpy.lib.arrayterator import ( Arrayterator as Arrayterator, ) |
