summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <dabi@blazemail.com>2015-12-23 18:45:38 +0100
committerDaniel <dabi@blazemail.com>2015-12-23 18:45:38 +0100
commite5d61d6f946ef75b822d937b801a02f64736e53f (patch)
treeba3922b0eea62f8b3d74b7d8ccd02a608b460394
parentd05b94544a060e8197bb3f8c2955cd8aedfacfff (diff)
downloadpython-numpy-e5d61d6f946ef75b822d937b801a02f64736e53f.tar.gz
python-numpy-e5d61d6f946ef75b822d937b801a02f64736e53f.tar.bz2
python-numpy-e5d61d6f946ef75b822d937b801a02f64736e53f.zip
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