summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2016-02-14 09:10:12 +0100
committerSebastian Berg <sebastian@sipsolutions.net>2016-02-14 09:10:12 +0100
commitcc9a5175c65a8081668cd4c4193c9109a6d41757 (patch)
treed777d9b96db39bbe0535085950e631764140548f /doc
parent26af0ce08f2c6660d8623446d79cb0569f20c2f6 (diff)
downloadnumpy-cc9a5175c65a8081668cd4c4193c9109a6d41757.tar.gz
DOC: metion writeable keyword in as_strided in release notes
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.12.0-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst
index 9167cdfc0..09f94141c 100644
--- a/doc/release/1.12.0-notes.rst
+++ b/doc/release/1.12.0-notes.rst
@@ -80,6 +80,12 @@ C API
New Features
============
+Writeable keyword argument for ``as_strided``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+``np.lib.stride_tricks.as_strided`` now has a ``writeable``
+keyword argument. It can be set to False when no write operation
+to the returned array is expected to avoid accidental
+unpredictable writes.
Improvements