summaryrefslogtreecommitdiff
path: root/numpy/lib/shape_base.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2019-05-30 19:22:31 -0700
committerEric Wieser <wieser.eric@gmail.com>2019-05-30 19:41:29 -0700
commitd07475b0a03247a870df76929a4ac0d56d23fec0 (patch)
tree4ec4613c1b5d953c8e5270596f56840e0d29fb9a /numpy/lib/shape_base.py
parent849e4d429951ad93691e6149d070b9d31536cc12 (diff)
downloadnumpy-d07475b0a03247a870df76929a4ac0d56d23fec0.tar.gz
ENH: Support __length_hint__ in PyArray_FromIter
This should avoid unnecessary allocations when called on iterators that have a good guess of their length. This API call has been supported since Python 3.4
Diffstat (limited to 'numpy/lib/shape_base.py')
0 files changed, 0 insertions, 0 deletions