diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-01-30 18:29:52 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-01-30 18:29:52 -0500 |
commit | ea5202880e2e1876d9baa2a65e7987c99be0459b (patch) | |
tree | 994bb3a0b79dec259dee17af1df65c3a942cbf41 /numpy/doc/structured_arrays.py | |
parent | 456318e027871460bd737f3bd7a3d064643e50e6 (diff) | |
parent | 73a74e9e9515ad76d652e998fc1e88074e8cd820 (diff) | |
download | numpy-ea5202880e2e1876d9baa2a65e7987c99be0459b.tar.gz |
Merge pull request #5523 from ahaldane/recarray_fixrepr
BUG: recarray __repr__ gives inaccurate representation
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 d8b4fc719..73bf3b317 100644 --- a/numpy/doc/structured_arrays.py +++ b/numpy/doc/structured_arrays.py @@ -292,7 +292,7 @@ such a view do not have field attributes:: To use the np.record dtype only, convert the dtype using the (base_class, dtype) form described in numpy.dtype. This type of view is rarely used. :: - >>> arr_records = arr.view(dtype(np.record, arr.dtype)) + >>> arr_records = arr.view(dtype((np.record, arr.dtype))) In documentation, the term 'structured array' will refer to objects of type np.ndarray with structured dtype, 'record array' will refer to structured |