10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 987b95c + d70c7ae commit c852077Copy full SHA for c852077
doc/release/1.13.0-notes.rst
@@ -33,7 +33,12 @@ Compatibility notes
33
Error type changes
34
~~~~~~~~~~~~~~~~~~
35
36
-``numpy.hstack()`` now throws ValueError instead of IndexError when input is empty.
+* ``numpy.hstack()`` now throws ``ValueError`` instead of ``IndexError`` when
37
+ input is empty.
38
+* Functions taking an axis argument, when that argument is out of range, now
39
+ throw ``np.AxisError`` instead of a mixture of ``IndexError`` and
40
+ ``ValueError``. For backwards compatibility, ``AxisError`` subclasses both of
41
+ these.
42
43
Tuple object dtypes
44
~~~~~~~~~~~~~~~~~~~
0 commit comments