summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorargriffing <argriffing@users.noreply.github.com>2015-12-23 20:32:06 -0500
committerargriffing <argriffing@users.noreply.github.com>2015-12-23 20:32:06 -0500
commit17ec49de1e0c482398f54b165c4ccc6cdcf43ac2 (patch)
treeba3922b0eea62f8b3d74b7d8ccd02a608b460394
parentd05b94544a060e8197bb3f8c2955cd8aedfacfff (diff)
parente5d61d6f946ef75b822d937b801a02f64736e53f (diff)
downloadnumpy-17ec49de1e0c482398f54b165c4ccc6cdcf43ac2.tar.gz
Merge pull request #6879 from dabidan/patch-2
typo corrrected.
-rw-r--r--numpy/doc/structured_arrays.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/structured_arrays.py b/numpy/doc/structured_arrays.py
index fe17c133e..1135c1395 100644
--- a/numpy/doc/structured_arrays.py
+++ b/numpy/doc/structured_arrays.py
@@ -27,7 +27,7 @@ position we get the second structure: ::
Conveniently, one can access any field of the array by indexing using the
string that names that field. ::
- >>> y = x['foo']
+ >>> y = x['bar']
>>> y
array([ 2., 3.], dtype=float32)
>>> y[:] = 2*y