diff options
author | Allan Haldane <allan.haldane@gmail.com> | 2015-06-17 15:58:18 -0400 |
---|---|---|
committer | Allan Haldane <allan.haldane@gmail.com> | 2015-06-17 16:11:48 -0400 |
commit | 53b8c2a88d33933a45d4f34525a583776e096502 (patch) | |
tree | 66e637b49af63d0502a9a8e9b9326a67a1ac786f /doc | |
parent | 6c1e1de675c3a774bef31be789c43600da60addc (diff) | |
download | numpy-53b8c2a88d33933a45d4f34525a583776e096502.tar.gz |
MAINT: document change to bytestring index behavior
Bytestring indices now raise IndexError, not ValueError
[ci skip]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.10.0-notes.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst index f60e87f8d..3cf55f881 100644 --- a/doc/release/1.10.0-notes.rst +++ b/doc/release/1.10.0-notes.rst @@ -94,6 +94,11 @@ provided in the 'out' keyword argument, and it would be used as the first output for ufuncs with multiple outputs, is deprecated, and will result in a `DeprecationWarning` now and an error in the future. +byte-array indices now raises an IndexError +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Indexing an ndarray using a byte-string in Python 3 now raises an IndexError +instead of a ValueError. + New Features ============ |