summaryrefslogtreecommitdiff
path: root/numpy/doc/structured_arrays.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2018-04-11 14:23:07 +0300
committermattip <matti.picus@gmail.com>2018-04-11 14:23:07 +0300
commit1eef2af85df832b55c856935a820889cdee83581 (patch)
tree6d08ab46d404717869e23811bdde7db2ce29ec62 /numpy/doc/structured_arrays.py
parent0a8ba953cc3fb973f63e2948c1d2027d39b9f88c (diff)
downloadnumpy-1eef2af85df832b55c856935a820889cdee83581.tar.gz
formatting fixes
Diffstat (limited to 'numpy/doc/structured_arrays.py')
-rw-r--r--numpy/doc/structured_arrays.py4
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