diff options
Diffstat (limited to 'numpy/doc/structured_arrays.py')
-rw-r--r-- | numpy/doc/structured_arrays.py | 2 |
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 |