summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-03-17 22:22:04 -0700
committerMark Wiebe <mwwiebe@gmail.com>2011-03-17 22:22:04 -0700
commit3692b16d8a844c0c042af7c27e7cef93170ea37d (patch)
treefaa8e9798978a832f9e323ea341a7a519fc7854a /numpy/add_newdocs.py
parentd1506b4b72966ed23caa03ecadc087a848cdcfe6 (diff)
downloadnumpy-3692b16d8a844c0c042af7c27e7cef93170ea37d.tar.gz
API: Rename 'niter' to 'nop' in the nditer
This name was chosen partially based on the previous multi-iter, which stored an array of iterators, so 'niter' made sense. In the new nditer, it doesn't, and 'nop' for number of operands seems better.
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 414f6f7d1..a7e9ba229 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -266,7 +266,7 @@ add_newdoc('numpy.core', 'nditer',
accessed and `has_multi_index` is False.
ndim : int
The iterator's dimension.
- niter : int
+ nop : int
The number of iterator operands.
operands : tuple of operand(s)
The array(s) to be iterated over.