From d70c7aea0b126c562728cbfae5b68ac6b7853c72 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Sat, 25 Mar 2017 00:14:10 +0000 Subject: [PATCH] DOC: Add missing release note for #8584 [ci skip] --- doc/release/1.13.0-notes.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/release/1.13.0-notes.rst b/doc/release/1.13.0-notes.rst index b20e39aa38d7..0c9d743f65dd 100644 --- a/doc/release/1.13.0-notes.rst +++ b/doc/release/1.13.0-notes.rst @@ -33,7 +33,12 @@ Compatibility notes Error type changes ~~~~~~~~~~~~~~~~~~ -``numpy.hstack()`` now throws ValueError instead of IndexError when input is empty. +* ``numpy.hstack()`` now throws ``ValueError`` instead of ``IndexError`` when + input is empty. +* Functions taking an axis argument, when that argument is out of range, now + throw ``np.AxisError`` instead of a mixture of ``IndexError`` and + ``ValueError``. For backwards compatibility, ``AxisError`` subclasses both of + these. Tuple object dtypes ~~~~~~~~~~~~~~~~~~~