diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-11-22 17:05:43 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-11-22 17:12:23 -0700 |
commit | c9adc35e68b92b10ab0b20069465fd784388bc14 (patch) | |
tree | 3384162ae0ec366f233fd7479a4398af6bcfcd0a /doc | |
parent | ff097d486887ae0a8eae4f3ecc2adece1c63ac43 (diff) | |
download | numpy-c9adc35e68b92b10ab0b20069465fd784388bc14.tar.gz |
DEP: Raise TypeError for subtract(bool_, bool_).
Subtracting a bool_ from a bool_ was deprecated in NumPy 1.9
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.13.0-notes.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/release/1.13.0-notes.rst b/doc/release/1.13.0-notes.rst index a8a63018c..657d8d88e 100644 --- a/doc/release/1.13.0-notes.rst +++ b/doc/release/1.13.0-notes.rst @@ -32,7 +32,8 @@ 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. +* ``negative(bool_)``, TypeError when negative applied to booleans. +* ``subtract(bool_, bool_)``, TypeError when subtracting boolean from boolean. FutureWarning to changed behavior ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |