From f5e9adbbf87903e42d03bb3dd5f86b70a89e930c Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Wed, 1 Jul 2015 23:36:38 -0600 Subject: DOC: Fix docstring warnings in documetation generation. Most of these fixes involve putting blank lines around .. versionadded:: x.x.x and .. deprecated:: x.x.x Some of the examples were also fixed. --- numpy/core/fromnumeric.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'numpy/core/fromnumeric.py') diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index b6a28ec9b..10626fe9f 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -1049,10 +1049,11 @@ def searchsorted(a, v, side='left', sorter=None): If 'right', return the last such index. If there is no suitable index, return either 0 or N (where N is the length of `a`). sorter : 1-D array_like, optional - .. versionadded:: 1.7.0 Optional array of integer indices that sort array a into ascending order. They are typically the result of argsort. + .. versionadded:: 1.7.0 + Returns ------- indices : array of ints -- cgit v1.2.1