From 93ee10ef98936e1fa5386836fd5b34b4b6e4bb68 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Tue, 9 Dec 2014 18:19:32 -0500 Subject: 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 --- numpy/core/fromnumeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/fromnumeric.py') 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 -- cgit v1.2.1