summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorEndolith <endolith@gmail.com>2016-05-11 20:09:04 -0400
committerEndolith <endolith@gmail.com>2016-05-11 20:47:47 -0400
commiteb8913d1a39e09b739a6e9449dc841a52ecbac37 (patch)
treef9e03d08f32addb3f068ceb74aec9f80f3a2b869 /numpy/add_newdocs.py
parent2df36ec6bf0beb0258898003a182b03590bee0c1 (diff)
downloadnumpy-eb8913d1a39e09b739a6e9449dc841a52ecbac37.tar.gz
DOC: Fix some incorrect RST definition lists
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 055c23480..16799887f 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -262,7 +262,7 @@ add_newdoc('numpy.core', 'nditer',
has_multi_index : bool
If True, the iterator was created with the "multi_index" flag,
and the property `multi_index` can be used to retrieve it.
- index :
+ index
When the "c_index" or "f_index" flag was used, this property
provides access to the index. Raises a ValueError if accessed
and `has_index` is False.
@@ -273,10 +273,10 @@ add_newdoc('numpy.core', 'nditer',
An index which matches the order of iteration.
itersize : int
Size of the iterator.
- itviews :
+ itviews
Structured view(s) of `operands` in memory, matching the reordered
and optimized iterator access pattern.
- multi_index :
+ multi_index
When the "multi_index" flag was used, this property
provides access to the index. Raises a ValueError if accessed
accessed and `has_multi_index` is False.
@@ -288,7 +288,7 @@ add_newdoc('numpy.core', 'nditer',
The array(s) to be iterated over.
shape : tuple of ints
Shape tuple, the shape of the iterator.
- value :
+ value
Value of `operands` at current iteration. Normally, this is a
tuple of array scalars, but if the flag "external_loop" is used,
it is a tuple of one dimensional arrays.
@@ -481,6 +481,11 @@ add_newdoc('numpy.core', 'broadcast',
Amongst others, it has ``shape`` and ``nd`` properties, and
may be used as an iterator.
+ See Also
+ --------
+ broadcast_arrays
+ broadcast_to
+
Examples
--------
Manually adding two vectors, using broadcasting: