summaryrefslogtreecommitdiff
path: root/numpy/core/function_base.py
diff options
context:
space:
mode:
authorEkaterina Tuzova <Ekaterina.Tuzova@jetbrains.com>2016-05-16 20:02:57 +0300
committerEkaterina Tuzova <Ekaterina.Tuzova@jetbrains.com>2016-05-16 20:02:57 +0300
commitfffb1d747330434e87bc24e915692cd86f4f75a5 (patch)
tree146437ec7677d8bb63929250d0a48746dbd33c11 /numpy/core/function_base.py
parente96ebfc233412e8da98ae96f5c640d00f5411f6e (diff)
downloadnumpy-fffb1d747330434e87bc24e915692cd86f4f75a5.tar.gz
DOC : minor changes to linspace docstring
added optional flag to the step
Diffstat (limited to 'numpy/core/function_base.py')
-rw-r--r--numpy/core/function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/function_base.py b/numpy/core/function_base.py
index 750fbe838..5b1237a32 100644
--- a/numpy/core/function_base.py
+++ b/numpy/core/function_base.py
@@ -58,7 +58,7 @@ def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None):
There are `num` equally spaced samples in the closed interval
``[start, stop]`` or the half-open interval ``[start, stop)``
(depending on whether `endpoint` is True or False).
- step : float
+ step : float, optional
Only returned if `retstep` is True
Size of spacing between samples.