summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-09-17 15:27:58 -0500
committerGitHub <noreply@github.com>2017-09-17 15:27:58 -0500
commit7d494636dad3da2610365a5c04bdd5857aa3b9ab (patch)
tree9fd25a6f5a3b1f8e08a4619c120e3fb971cdc39a /numpy/add_newdocs.py
parent55a3abbee25b1398c29e6b64e3e3a70082b7542b (diff)
parente67ff5a12fb1a00140486bf1a5ae9a39fbcbdadd (diff)
downloadnumpy-7d494636dad3da2610365a5c04bdd5857aa3b9ab.tar.gz
Merge pull request #9695 from xuhdev/arange-doc
DOC: `start` is not needed even when `step` is given.
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 477a3db34..8c23e1441 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -1338,7 +1338,8 @@ add_newdoc('numpy.core.multiarray', 'arange',
step : number, optional
Spacing between values. For any output `out`, this is the distance
between two adjacent values, ``out[i+1] - out[i]``. The default
- step size is 1. If `step` is specified, `start` must also be given.
+ step size is 1. If `step` is specified as a position argument,
+ `start` must also be given.
dtype : dtype
The type of the output array. If `dtype` is not given, infer the data
type from the other input arguments.