diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2018-04-16 11:45:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 11:45:44 -0700 |
commit | e39c080f36e8cbaeecf9fcf8b277538318c2abe9 (patch) | |
tree | eac8f10cc2b891b70df0a75e35ad87e74a2a1442 /numpy/doc/structured_arrays.py | |
parent | a9cb8c03bc7f1aae842ac8a3baa5ff388224044a (diff) | |
parent | c989bd430b73181c5415df5f9ccdcfcc314445cb (diff) | |
download | numpy-e39c080f36e8cbaeecf9fcf8b277538318c2abe9.tar.gz |
Merge pull request #10878 from mattip/devdocs
DOC: rework documents and silence warnings during sphinx build
Diffstat (limited to 'numpy/doc/structured_arrays.py')
-rw-r--r-- | numpy/doc/structured_arrays.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/structured_arrays.py b/numpy/doc/structured_arrays.py index af02e2173..ba667da59 100644 --- a/numpy/doc/structured_arrays.py +++ b/numpy/doc/structured_arrays.py @@ -284,7 +284,7 @@ the desired underlying dtype, and fields and flags will be copied from ``dtype``. This dtype is similar to a 'union' in C. Indexing and Assignment to Structured arrays -============================================= +============================================ Assigning data to a Structured Array ------------------------------------ @@ -293,7 +293,7 @@ There are a number of ways to assign values to a structured array: Using python tuples, using scalar values, or using other structured arrays. Assignment from Python Native Types (Tuples) -``````````````````````````````````````````` +```````````````````````````````````````````` The simplest way to assign values to a structured array is using python tuples. Each assigned value should be a tuple of length equal to the number of fields |