summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/22457.change.rst
blob: 7d787441f3151e37ee10d2acc9a550f99684e2ed (plain)
1
2
3
4
5
6
7
8
``nditer``/``NpyIter`` allows all allocating all operands
---------------------------------------------------------
The NumPy iterator available through `np.nditer` in Python
and as ``NpyIter`` in C now supports allocating all arrays.

The iterator shape defaults to ``()`` in this case.  The operands
dtype must be provided, since a "common dtype" cannot be inferred
from the other inputs.