summaryrefslogtreecommitdiff
path: root/doc/release/1.8.0-notes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/release/1.8.0-notes.rst')
-rw-r--r--doc/release/1.8.0-notes.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/release/1.8.0-notes.rst b/doc/release/1.8.0-notes.rst
index c8d3b264b..1e7d00a74 100644
--- a/doc/release/1.8.0-notes.rst
+++ b/doc/release/1.8.0-notes.rst
@@ -188,9 +188,9 @@ computations.
In place fancy indexing for ufuncs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The function ``at`` has been added to ufunc objects to allow in place
-ufuncs using fancy indexing with no buffering. For example, the following
-will increment the first and second items in the array, and will increment
-the third item twice:
+ufuncs with no buffering when fancy indexing is used. For example, the
+following will increment the first and second items in the array, and will
+increment the third item twice:
numpy.add.at(array, [0, 1, 2, 2], 1)
This is similar to doing array[[0, 1, 2, 2]] += 1