summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorPierre de Buyl <pdebuyl@pdebuyl.be>2016-09-07 09:48:40 +0200
committerPierre de Buyl <pdebuyl@pdebuyl.be>2016-09-07 09:48:40 +0200
commitdb0b231f17fb2148772181626235e2644eb67c3e (patch)
tree046e1f4026b64012cd998f27363e3b12c4e35805 /numpy/lib
parent0780721328a25389844181fd7e38f56e1a865698 (diff)
downloadnumpy-db0b231f17fb2148772181626235e2644eb67c3e.tar.gz
DOC: change version references from x.y to x.y.z
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/function_base.py6
-rw-r--r--numpy/lib/nanfunctions.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 11cfb2c99..cb1a04f47 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -489,8 +489,8 @@ def histogram(a, bins=10, range=None, normed=False, weights=None,
based on the actual data within `range`, the bin count will fill
the entire range including portions containing no data.
normed : bool, optional
- This keyword is deprecated in NumPy 1.6 due to confusing/buggy
- behavior. It will be removed in NumPy 2.0. Use the ``density``
+ This keyword is deprecated in NumPy 1.6.0 due to confusing/buggy
+ behavior. It will be removed in NumPy 2.0.0. Use the ``density``
keyword instead. If ``False``, the result will contain the
number of samples in each bin. If ``True``, the result is the
value of the probability *density* function at the bin,
@@ -809,7 +809,7 @@ def histogram(a, bins=10, range=None, normed=False, weights=None,
else:
return n, bins
else:
- # deprecated, buggy behavior. Remove for NumPy 2.0
+ # deprecated, buggy behavior. Remove for NumPy 2.0.0
if normed:
db = array(np.diff(bins), float)
return n/(n*db).sum(), bins
diff --git a/numpy/lib/nanfunctions.py b/numpy/lib/nanfunctions.py
index ab88c6a37..c024055ba 100644
--- a/numpy/lib/nanfunctions.py
+++ b/numpy/lib/nanfunctions.py
@@ -453,7 +453,7 @@ def nansum(a, axis=None, dtype=None, out=None, keepdims=np._NoValue):
Return the sum of array elements over a given axis treating Not a
Numbers (NaNs) as zero.
- In NumPy versions <= 1.8 Nan is returned for slices that are all-NaN or
+ In NumPy versions <= 1.8.0 Nan is returned for slices that are all-NaN or
empty. In later versions zero is returned.
Parameters