diff options
Diffstat (limited to 'numpy/core/_internal.py')
-rw-r--r-- | numpy/core/_internal.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py index 3d6702095..309b53c44 100644 --- a/numpy/core/_internal.py +++ b/numpy/core/_internal.py @@ -80,7 +80,6 @@ def _usefields(adict, align): # a simple typestring def _array_descr(descriptor): - from multiarray import METADATA_DTSTR fields = descriptor.fields if fields is None: subdtype = descriptor.subdtype @@ -89,8 +88,6 @@ def _array_descr(descriptor): return descriptor.str else: new = descriptor.metadata.copy() - # Eliminate any key related to internal implementation - new.pop(METADATA_DTSTR, None) if new: return (descriptor.str, new) else: |