summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-03-08 16:52:43 +0100
committerSebastian Berg <sebastianb@nvidia.com>2023-04-12 12:21:41 +0200
commit9d4255ca5a6b0a80c83dcba9e7c991b3faeb973e (patch)
tree55d001f15d103baafd1a3a109bec5f78954c0cbd
parent404ff167ae745008803b49176225e0e2dfde3f9b (diff)
downloadnumpy-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__.py1
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.