summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-12-09 16:14:06 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2020-12-10 16:12:44 -0600
commit8caabdf36c63098bc5743306df55e2c45b5808e3 (patch)
tree3ea50dc7ac406ae272205561c82b284c471d9eb1 /numpy/lib/function_base.py
parent91d9bbebc159ada6cccd0e1fcec1926e26b19c6f (diff)
downloadnumpy-8caabdf36c63098bc5743306df55e2c45b5808e3.tar.gz
DEP: Futurewarn on requiring __len__ on array-likes
This fixes issue gh-17965. The slightly annoying thing is that there is no simple way to opt-in to the new behaviour and the old behaviour is a bit quirky to begin with (honoring the dtype, but not the shape).
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions