summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-08-06 08:47:35 -0500
committerEric Wieser <wieser.eric@gmail.com>2017-08-06 08:47:35 -0500
commit2489aded2dc7f779a66b5f93ea59ba4731c46b86 (patch)
treee26d04840a785faa1d76b506c766757e35ec37cf /numpy/lib/nanfunctions.py
parentdfba08642ec76cee99e7d78e20865e2e63f89609 (diff)
downloadnumpy-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/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions