diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2008-07-16 21:30:07 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2008-07-16 21:30:07 +0000 |
commit | f90a9240436e179acc6b4428cc4cff17a06fd6ac (patch) | |
tree | 71038f052d59bd4fa1cfe64af94d8b3b82e83dfd /numpy/lib/utils.py | |
parent | 75a3b814dc8dc1df038b3afb9b9bf1b19a7d43da (diff) | |
download | numpy-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