summaryrefslogtreecommitdiff
path: root/numpy/doc/structured_arrays.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/structured_arrays.py')
-rw-r--r--numpy/doc/structured_arrays.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/doc/structured_arrays.py b/numpy/doc/structured_arrays.py
index 304184d0d..0444bdf90 100644
--- a/numpy/doc/structured_arrays.py
+++ b/numpy/doc/structured_arrays.py
@@ -194,7 +194,7 @@ Notice that `x` is created with a list of tuples. ::
The fields are returned in the order they are asked for.::
>>> x[['y','x']]
- array([(2.5, 1.5), (4.0, 3.0), (3.0, 1.0)],
+ array([(2.5, 1.5), (4.0, 3.0), (3.0, 1.0)],
dtype=[('y', '<f4'), ('x', '<f4')])
Filling structured arrays
@@ -221,4 +221,3 @@ You can find some more information on recarrays and structured arrays
"""
from __future__ import division, absolute_import, print_function
-