summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-04-26 14:04:03 +0200
committerSebastian Berg <sebastianb@nvidia.com>2023-04-26 14:57:52 +0200
commit9b62c3859f11094b664546e2f4a0fc92ed5c493c (patch)
treedc0f870527c92cffa13345d9bbfa7ab9457c7103 /numpy/core/arrayprint.py
parent5665fdcdf21dec575d204852b208eaecf1a1638d (diff)
downloadnumpy-9b62c3859f11094b664546e2f4a0fc92ed5c493c.tar.gz
MAINT: Refactor internal array creation to also allow dtype preservation
In some cases we know that we want to use the *exact* dtype that we already have (mainly when taking views). This is also useful internally because there are very rare code-paths were we even create temporary arrays that contain subarray dtypes.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions