summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/22675.compatibility.rst
blob: f3c08246bd2ba1cddbe7e79b66eab55d5f31d30d (plain)
1
2
3
4
5
6
Changed error message and type for bad ``axes`` argument to ``ufunc``
---------------------------------------------------------------------
The error message and type when a wrong ``axes`` value is passed to
``ufunc(..., axes=[...])``` has changed. The message is now more indicative of
the problem, and if the value is mismatched an ``AxisError`` will be raised.
A ``TypeError`` will still be raised for invalid input types.