diff options
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 46dd961d8..f3d3b8a92 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -300,8 +300,7 @@ def reshape(a, newshape, order='C'): def _choose_dispatcher(a, choices, out=None, mode=None): yield a - for c in choices: - yield c + yield from choices yield out |