summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-07-16 21:30:07 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-07-16 21:30:07 +0000
commitf90a9240436e179acc6b4428cc4cff17a06fd6ac (patch)
tree71038f052d59bd4fa1cfe64af94d8b3b82e83dfd /numpy/lib/utils.py
parent75a3b814dc8dc1df038b3afb9b9bf1b19a7d43da (diff)
downloadnumpy-f90a9240436e179acc6b4428cc4cff17a06fd6ac.tar.gz
Fix ticket #849. Thanks to Michael Abbott.
The added check for NULL descr isn't really needed here because the typenums used don't allow such returns. But knowing that requires knowledge of PyArray_DescrFromType internals and not checking makes the code fragile.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions