diff options
author | Erik M. Bray <embray@stsci.edu> | 2015-05-27 10:11:54 -0400 |
---|---|---|
committer | Erik M. Bray <embray@stsci.edu> | 2015-06-01 11:17:20 -0400 |
commit | 1acd14c3ff6d781801fab7b550fc9d295325f7da (patch) | |
tree | 2c1497829704793c8b6189f782997be45ce0645e /numpy/core/defchararray.py | |
parent | d9ab8f76543f120d67d3e33ae667860924d00971 (diff) | |
download | numpy-1acd14c3ff6d781801fab7b550fc9d295325f7da.tar.gz |
ENH: Allow dictproxy objects to be used in place of dicts when creating
a dtype
arraydescr_new allows passing in a dict to represent a multi-field
dtype. However, the .fields attribute on such dtypes is returned
as a dictproxy object. Therefore it is convenient, for copying
existing multi-field dtypes, to be able to pass in a dictproxy object
as well.
Diffstat (limited to 'numpy/core/defchararray.py')
0 files changed, 0 insertions, 0 deletions