diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-05-30 19:22:31 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-05-30 19:41:29 -0700 |
commit | d07475b0a03247a870df76929a4ac0d56d23fec0 (patch) | |
tree | 4ec4613c1b5d953c8e5270596f56840e0d29fb9a /numpy/lib/format.py | |
parent | 849e4d429951ad93691e6149d070b9d31536cc12 (diff) | |
download | numpy-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/format.py')
0 files changed, 0 insertions, 0 deletions