10000 Merge pull request #8828 from eric-wieser/8584-release-notes · numpy/numpy@c852077 · GitHub
[go: up one dir, main page]

Skip to content

Commit c852077

Browse files
authored
Merge pull request #8828 from eric-wieser/8584-release-notes
DOC: Add missing release note for #8584
2 parents 987b95c + d70c7ae commit c852077

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/release/1.13.0-notes.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ Compatibility notes
3333
Error type changes
3434
~~~~~~~~~~~~~~~~~~
3535

36-
``numpy.hstack()`` now throws ValueError instead of IndexError when input is empty.
36+
* ``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.
3742

3843
Tuple object dtypes
3944
~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0