summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorThomas A Caswell <tcaswell@gmail.com>2014-12-09 18:19:32 -0500
committerThomas A Caswell <tcaswell@bnl.gov>2014-12-12 14:00:39 -0500
commit93ee10ef98936e1fa5386836fd5b34b4b6e4bb68 (patch)
treec884b1d3fb8802c8164545246707ed53f7b773f1 /numpy/core/fromnumeric.py
parent48b61ec8c4b6e81100d96b3ab854947dd6ab1f64 (diff)
downloadnumpy-93ee10ef98936e1fa5386836fd5b34b4b6e4bb68.tar.gz
DOC : do not abuse enum markup
- {ndarray, bool} -> ndarray or bool - {int, array of ints} -> int or array of ints - {str, function} -> str or function - {sequnce, int} -> sequence or int - {array_like, poly1d} -> array_like or poly1d - {None, list of `m` scalars, scalar} -> list of `m` scalars or scalar
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 84a10bf04..9b75255da 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -355,7 +355,7 @@ def repeat(a, repeats, axis=None):
----------
a : array_like
Input array.
- repeats : {int, array of ints}
+ repeats : int or array of ints
The number of repetitions for each element. `repeats` is broadcasted
to fit the shape of the given axis.
axis : int, optional