diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-08-06 08:47:35 -0500 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-08-06 08:47:35 -0500 |
commit | 2489aded2dc7f779a66b5f93ea59ba4731c46b86 (patch) | |
tree | e26d04840a785faa1d76b506c766757e35ec37cf /numpy/lib/utils.py | |
parent | dfba08642ec76cee99e7d78e20865e2e63f89609 (diff) | |
download | numpy-2489aded2dc7f779a66b5f93ea59ba4731c46b86.tar.gz |
BUG: Don't duplicate the type->dtype conversion logic
dtype(t) already does this in descriptor.c
This means that `obj2sctype(long)` now returns `np.int64` rather than `None`,
because when you duplicate code, its easy to forget something in the second
place.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions