summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-10-17 15:46:31 -0500
committerGitHub <noreply@github.com>2018-10-17 15:46:31 -0500
commit4126f6603dff45a53dbc2b8206ea928aaf60ca17 (patch)
treec17b8a36d8a2d829ffad07ddc35d20c5ef8844f2 /doc/release
parentd9515e3c62a0e766cef33c921fb24546deb881a8 (diff)
parent04ce41a2cb75f37addc1aabcaa7098c17e2fdbfd (diff)
downloadnumpy-4126f6603dff45a53dbc2b8206ea928aaf60ca17.tar.gz
Merge pull request #12159 from tylerjereddy/nd_grid_len_test
MAINT: remove unused nd_grid __len__
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.16.0-notes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.16.0-notes.rst b/doc/release/1.16.0-notes.rst
index 589c0ef8b..389added8 100644
--- a/doc/release/1.16.0-notes.rst
+++ b/doc/release/1.16.0-notes.rst
@@ -87,6 +87,11 @@ More in detail, the complex64 type now has the same alignment as a C-struct
``struct {float r, i;}``, according to the compiler used to compile numpy, and
similarly for the complex128 and complex256 types.
+nd_grid __len__ removal
+-----------------------
+``len(np.mgrid)`` and ``len(np.ogrid)`` are now considered nonsensical
+and raise a ``TypeError``.
+
``np.unravel_index`` now accepts ``shape`` keyword argument
-----------------------------------------------------------
Previously, only the ``dims`` keyword argument was accepted