diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-11-22 15:41:39 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-11-22 17:11:45 -0700 |
commit | ff097d486887ae0a8eae4f3ecc2adece1c63ac43 (patch) | |
tree | 1fc308040391e9246b671317259c5d9c5a6c72e1 /doc | |
parent | e9a7e2884a20db689fe92a9b435ff7de06d356a8 (diff) | |
download | numpy-ff097d486887ae0a8eae4f3ecc2adece1c63ac43.tar.gz |
DEP: Raise TypeError for np.negative(bool_).
The unary minus of booleans was deprecated in NumPy 1.9.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.13.0-notes.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/release/1.13.0-notes.rst b/doc/release/1.13.0-notes.rst index 34026c4e5..a8a63018c 100644 --- a/doc/release/1.13.0-notes.rst +++ b/doc/release/1.13.0-notes.rst @@ -32,6 +32,7 @@ DeprecationWarning to error * ``partition``, TypeError when non-integer partition index is used. * ``NpyIter_AdvancedNew``, ValueError when `oa_ndim == 0` and `op_axes` is NULL +* Negative boolean, TypeError when unary ``-`` operator applied to boolean. FutureWarning to changed behavior ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |