diff options
author | Steve Dower <steve.dower@microsoft.com> | 2020-05-26 19:36:08 +0100 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2020-05-26 19:36:08 +0100 |
commit | 739de19d3bc61583c342678f386f917725b33c25 (patch) | |
tree | bc9befc4ffbf90f055f034d9c2a34f06faf41ff2 /numpy | |
parent | 6541b11c4014650a675f016ba3b2e7a35e5998b8 (diff) | |
download | numpy-739de19d3bc61583c342678f386f917725b33c25.tar.gz |
Add comment for delayed imports
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/_dtype_ctypes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/_dtype_ctypes.py b/numpy/core/_dtype_ctypes.py index 017f13ff8..6d7cbb244 100644 --- a/numpy/core/_dtype_ctypes.py +++ b/numpy/core/_dtype_ctypes.py @@ -23,6 +23,9 @@ Unfortunately, this fails because: * ctypes cannot handle big-endian structs with PEP3118 (bpo-32780) """ +# We delay-import ctypes for distributions that do not include it. +# While this module is not used unless the user passes in ctypes +# members, it is eagerly imported from numpy/core/__init__.py. import numpy as np |