diff options
author | Travis Oliphant <oliphant@enthought.com> | 2009-08-28 14:58:59 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2009-08-28 14:58:59 +0000 |
commit | c2191bc97da8a0879cec8d3e9a7a93fe9e66fcd8 (patch) | |
tree | c2783eb645cc283dc5c336f08125fbe64367de10 /numpy/core/_internal.py | |
parent | 5bebcdfd6cda1d015f52e213bf94cfdc5b0b8b98 (diff) | |
download | numpy-c2191bc97da8a0879cec8d3e9a7a93fe9e66fcd8.tar.gz |
Datetime branch compiles and all numpy tests pass. Ready to be merged back to trunk. More development still needed, but it can take place in the trunk.
Diffstat (limited to 'numpy/core/_internal.py')
-rw-r--r-- | numpy/core/_internal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py index 87b41e517..b89c94d9b 100644 --- a/numpy/core/_internal.py +++ b/numpy/core/_internal.py @@ -87,7 +87,8 @@ def _array_descr(descriptor): return descriptor.str else: new = descriptor.metadata.copy() - del new[METADATA_DTSTR] + # Eliminate any key related to internal implementation + _ = new.pop(METADATA_DTSTR, None) return (descriptor.str, new) else: return (_array_descr(subdtype[0]), subdtype[1]) |