summaryrefslogtreecommitdiff
path: root/numpy/core/_internal.py
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2012-04-27 13:44:24 -0500
committerCharles Harris <charlesr.harris@gmail.com>2012-05-10 00:47:29 -0600
commite686b367db354189b1154c2a47cc4b1adcfca1fd (patch)
tree28a7bb87e5d32dedba089e8ab25586fc9fa400b7 /numpy/core/_internal.py
parenteb40102ef70ca9a3e2d8953b54db9df90a0a10ee (diff)
downloadnumpy-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.py3
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: