diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2012-04-27 13:44:24 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2012-05-10 00:47:29 -0600 |
commit | e686b367db354189b1154c2a47cc4b1adcfca1fd (patch) | |
tree | 28a7bb87e5d32dedba089e8ab25586fc9fa400b7 /numpy/core/_internal.py | |
parent | eb40102ef70ca9a3e2d8953b54db9df90a0a10ee (diff) | |
download | numpy-e686b367db354189b1154c2a47cc4b1adcfca1fd.tar.gz |
ENH: Change datetime64 to use c_metadata instead of metadata
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: |