diff options
author | Aitik Gupta <aitikgupta@gmail.com> | 2021-01-19 17:27:00 +0530 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2021-03-18 20:48:23 +0200 |
commit | 4bcfc9df533dc888f637d5291cd184c90288487c (patch) | |
tree | 07792f5d8d3271ba430a0214c9959aa1ecb81b3c | |
parent | 35158c723787c46014ff2bf8332e0aa639dcb0c7 (diff) | |
download | numpy-4bcfc9df533dc888f637d5291cd184c90288487c.tar.gz |
REL: Add deprecation release note
-rw-r--r-- | doc/release/upcoming_changes/17492.deprecation.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/17492.deprecation.rst b/doc/release/upcoming_changes/17492.deprecation.rst new file mode 100644 index 000000000..e0a2a78af --- /dev/null +++ b/doc/release/upcoming_changes/17492.deprecation.rst @@ -0,0 +1,8 @@ +Inexact matches for `numpy.convolve` and `numpy.correlate` are deprecated +------------------------------------------------------------------------- + +`numpy.convolve` and `numpy.correlate` now parses its ``mode`` argument in C +instead of Python, and raises a warning when there are case insensitive and/or +inexact matches found for ``mode`` argument in the functions. +Pass full ``"same"``, ``"valid"``, ``"full"`` strings instead of +``"s"``, ``"v"``, ``"f"`` for the ``mode`` argument. |