diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-05-12 18:35:52 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-05-12 19:15:36 -0700 |
commit | a3a19daff9330f0196aba90582450d022fc8798c (patch) | |
tree | 8e06f3ee5c05f8f77415d2e62df261f18fe89897 /numpy/core/fromnumeric.py | |
parent | 0f19dae081e6678902826b195e0d3857c5b4c2b3 (diff) | |
download | numpy-a3a19daff9330f0196aba90582450d022fc8798c.tar.gz |
ENH: Allow broadcast to be called with zero arguments
Follows on from gh-6905 which reduced the limit from 2 to 1. Let's go all the way to zero.
Just as for `broadcast(broadcast(a), b)` is interpreted as `broadcast(a, b)` , this change interprets
`broadcast(broadcast(), a)` as `broadcast(a)`.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions