summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorBradley M. Froehle <brad.froehle@gmail.com>2013-02-10 10:46:33 -0800
committerBradley M. Froehle <brad.froehle@gmail.com>2013-02-10 10:46:33 -0800
commit92545427dfebaa680ee0f38649d12c1f1c655a7f (patch)
tree659d5af10887cbf527cfafbb3a3a708321bd5092 /numpy/lib/utils.py
parent625f3cde9aeacea2289ba32286ec54a65f4f4641 (diff)
downloadnumpy-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