summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEvgeni Burovski <evgeny.burovskiy@gmail.com>2018-01-16 13:56:07 +0300
committerEvgeni Burovski <evgeny.burovskiy@gmail.com>2018-01-17 00:01:43 +0300
commitba3e5856ca20d66aaa675261e82da1814f9cba1f (patch)
treeb20cb27ae7c4b2d75374d6151ce0dadd11d69f49 /doc
parentc14e68e0ff36b922328889a846fab4cb23e1a942 (diff)
downloadpython-numpy-ba3e5856ca20d66aaa675261e82da1814f9cba1f.tar.gz
python-numpy-ba3e5856ca20d66aaa675261e82da1814f9cba1f.tar.bz2
python-numpy-ba3e5856ca20d66aaa675261e82da1814f9cba1f.zip
DOC: add a release not for `printoptions`
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.15.0-notes.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst
index 16a44113c..996cd47b9 100644
--- a/doc/release/1.15.0-notes.rst
+++ b/doc/release/1.15.0-notes.rst
@@ -15,6 +15,13 @@ New functions
* `np.ma.stack`, the `np.stack` array-joining function generalized to masked
arrays.
+* `np.printoptions`, the context manager which sets print options temporarily
+ for the scope of the ``with`` block::
+
+ >>> with np.printoptions(precision=2):
+ ... print(np.array([2.0])) / 3
+ [0.67]
+
Deprecations
============