From e5d61d6f946ef75b822d937b801a02f64736e53f Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 23 Dec 2015 18:45:38 +0100 Subject: typo corrrected. --- numpy/doc/structured_arrays.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/doc/structured_arrays.py') 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 -- cgit v1.2.1