diff options
| author | Sebastian Berg <sebastianb@nvidia.com> | 2023-03-08 16:52:43 +0100 |
|---|---|---|
| committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-04-12 12:21:41 +0200 |
| commit | 9d4255ca5a6b0a80c83dcba9e7c991b3faeb973e (patch) | |
| tree | 55d001f15d103baafd1a3a109bec5f78954c0cbd | |
| parent | 404ff167ae745008803b49176225e0e2dfde3f9b (diff) | |
| download | numpy-9d4255ca5a6b0a80c83dcba9e7c991b3faeb973e.tar.gz | |
MAINT: Explicitly import types
That is probably needed for lazy loaders, but also for pyinstaller
(although for pyinstaller we could add it as a hidden module).
| -rw-r--r-- | numpy/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index 83b42092f..a0aa01854 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -140,6 +140,7 @@ else: from .core import * from . import compat from . import exceptions + from . import types from . import lib # NOTE: to be revisited following future namespace cleanup. # See gh-14454 and gh-15672 for discussion. |
