diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-03-24 18:39:47 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 18:39:47 -0600 |
commit | c8520772a20fc5b1b2105d0e8ba8cb8d11191976 (patch) | |
tree | 785e08cdbfca0a87d79f7a12f46c07167f468105 | |
parent | 987b95c14538daa2836ac5e3156ca4f0a5862286 (diff) | |
parent | d70c7aea0b126c562728cbfae5b68ac6b7853c72 (diff) | |
download | numpy-c8520772a20fc5b1b2105d0e8ba8cb8d11191976.tar.gz |
Merge pull request #8828 from eric-wieser/8584-release-notes
DOC: Add missing release note for #8584
-rw-r--r-- | doc/release/1.13.0-notes.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/release/1.13.0-notes.rst b/doc/release/1.13.0-notes.rst index b20e39aa3..0c9d743f6 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 ~~~~~~~~~~~~~~~~~~~ |