diff options
author | Bradley M. Froehle <brad.froehle@gmail.com> | 2013-02-10 10:46:33 -0800 |
---|---|---|
committer | Bradley M. Froehle <brad.froehle@gmail.com> | 2013-02-10 10:46:33 -0800 |
commit | 92545427dfebaa680ee0f38649d12c1f1c655a7f (patch) | |
tree | 659d5af10887cbf527cfafbb3a3a708321bd5092 /numpy/lib/utils.py | |
parent | 625f3cde9aeacea2289ba32286ec54a65f4f4641 (diff) | |
download | numpy-92545427dfebaa680ee0f38649d12c1f1c655a7f.tar.gz |
ENH: Use tp_basicsize, not NPY_SIZEOF_PYARRAYOBJECT, for memory allocation.
This change allows C-API level subtypes of PyArray_Type without forcing the
developer to rewrite the tp_alloc function and only change the amount of
memory allocated.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions