diff options
| -rw-r--r-- | doc/source/reference/routines.numarray.rst | 2 | ||||
| -rw-r--r-- | numpy/add_newdocs.py | 2 | ||||
| -rw-r--r-- | numpy/core/code_generators/cversions.txt | 2 | ||||
| -rw-r--r-- | numpy/core/numeric.py | 6 | ||||
| -rw-r--r-- | numpy/lib/function_base.py | 6 | ||||
| -rw-r--r-- | numpy/lib/nanfunctions.py | 2 | ||||
| -rw-r--r-- | numpy/linalg/linalg.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/_polybase.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/chebyshev.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/hermite.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/hermite_e.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/laguerre.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/legendre.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/polynomial.py | 2 | ||||
| -rw-r--r-- | numpy/random/mtrand/mtrand.pyx | 2 |
15 files changed, 19 insertions, 19 deletions
diff --git a/doc/source/reference/routines.numarray.rst b/doc/source/reference/routines.numarray.rst index 3bbc413d7..9e84f49b9 100644 --- a/doc/source/reference/routines.numarray.rst +++ b/doc/source/reference/routines.numarray.rst @@ -2,4 +2,4 @@ Numarray compatibility ********************** -The numarray module was removed in NumPy 1.9. +The numarray module was removed in NumPy 1.9.0. diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index adeaff90c..1cf031546 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -2014,7 +2014,7 @@ add_newdoc('numpy.core', 'matmul', were elements. .. warning:: - This function is preliminary and included in NumPy 1.10 for testing + This function is preliminary and included in NumPy 1.10.0 for testing and documentation. Its semantics will not change, but the number and order of the optional arguments will. diff --git a/numpy/core/code_generators/cversions.txt b/numpy/core/code_generators/cversions.txt index 0726fc85e..47781add8 100644 --- a/numpy/core/code_generators/cversions.txt +++ b/numpy/core/code_generators/cversions.txt @@ -22,7 +22,7 @@ # Version 9 (NumPy 1.8) Added interface for partition functions, # PyArray_NEW_ZEROED, commented out as the hash changed in -# NumPy 1.9 due to annotation. +# NumPy 1.9.0 due to annotation. #0x00000009 = 327bd114df09c2eb7a0bcc6901e2a3ed # Version 9 (NumPy 1.9) Added function annotations. diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 51f8dd034..ba99a1e42 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -759,7 +759,7 @@ def isfortran(a): This function is obsolete and, because of changes due to relaxed stride checking, its return value for the same array may differ for versions - of NumPy >= 1.10 and previous versions. If you only want to check if an + of NumPy >= 1.10.0 and previous versions. If you only want to check if an array is Fortran contiguous use ``a.flags.f_contiguous`` instead. Parameters @@ -1170,7 +1170,7 @@ def alterdot(): arrays with larger dimensionalities use the built in functions and are not accelerated. - .. note:: Deprecated in NumPy 1.10 + .. note:: Deprecated in NumPy 1.10.0 The cblas functions have been integrated into the multarray module and alterdot now longer does anything. It will be removed in NumPy 1.11.0. @@ -1195,7 +1195,7 @@ def restoredot(): an accelerated BLAS, or when being very careful about benchmarking linear algebra operations. - .. note:: Deprecated in NumPy 1.10 + .. note:: Deprecated in NumPy 1.10.0 The cblas functions have been integrated into the multarray module and restoredot now longer does anything. It will be removed in NumPy 1.11.0. 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 diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py index 15c72fa02..3576d3824 100644 --- a/numpy/linalg/linalg.py +++ b/numpy/linalg/linalg.py @@ -677,7 +677,7 @@ def qr(a, mode='reduced'): `a` is of type `matrix`, all the return values will be matrices too. New 'reduced', 'complete', and 'raw' options for mode were added in - NumPy 1.8 and the old option 'full' was made an alias of 'reduced'. In + NumPy 1.8.0 and the old option 'full' was made an alias of 'reduced'. In addition the options 'full' and 'economic' were deprecated. Because 'full' was the previous default and 'reduced' is the new default, backward compatibility can be maintained by letting `mode` default. diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py index be5cd3888..aad147388 100644 --- a/numpy/polynomial/_polybase.py +++ b/numpy/polynomial/_polybase.py @@ -742,7 +742,7 @@ class ABCPolyBase(object): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For NumPy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11.0 a list of integers specifying the degrees of the terms to include may be used instead. domain : {None, [beg, end], []}, optional Domain to use for the returned series. If ``None``, diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py index f3f491c29..82b3dc9a6 100644 --- a/numpy/polynomial/chebyshev.py +++ b/numpy/polynomial/chebyshev.py @@ -1620,7 +1620,7 @@ def chebfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For NumPy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11.0 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/hermite.py b/numpy/polynomial/hermite.py index 3172b41d0..d7038e54d 100644 --- a/numpy/polynomial/hermite.py +++ b/numpy/polynomial/hermite.py @@ -1391,7 +1391,7 @@ def hermfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For NumPy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11.0 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/hermite_e.py b/numpy/polynomial/hermite_e.py index 7cc85de5d..8a70acfa2 100644 --- a/numpy/polynomial/hermite_e.py +++ b/numpy/polynomial/hermite_e.py @@ -1388,7 +1388,7 @@ def hermefit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For NumPy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11.0 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/laguerre.py b/numpy/polynomial/laguerre.py index 6aa086356..ffd032883 100644 --- a/numpy/polynomial/laguerre.py +++ b/numpy/polynomial/laguerre.py @@ -1390,7 +1390,7 @@ def lagfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For NumPy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11.0 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/legendre.py b/numpy/polynomial/legendre.py index 29e9a0897..488660545 100644 --- a/numpy/polynomial/legendre.py +++ b/numpy/polynomial/legendre.py @@ -1421,7 +1421,7 @@ def legfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For NumPy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11.0 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller than diff --git a/numpy/polynomial/polynomial.py b/numpy/polynomial/polynomial.py index edefeed6c..95f044a2d 100644 --- a/numpy/polynomial/polynomial.py +++ b/numpy/polynomial/polynomial.py @@ -1309,7 +1309,7 @@ def polyfit(x, y, deg, rcond=None, full=False, w=None): deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the - fit. For NumPy versions >= 1.11 a list of integers specifying the + fit. For NumPy versions >= 1.11.0 a list of integers specifying the degrees of the terms to include may be used instead. rcond : float, optional Relative condition number of the fit. Singular values smaller diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx index 24c8bd951..138f0e39a 100644 --- a/numpy/random/mtrand/mtrand.pyx +++ b/numpy/random/mtrand/mtrand.pyx @@ -2547,7 +2547,7 @@ cdef class RandomState: Parameters ---------- df : int or array_like of ints - Degrees of freedom, should be > 0 as of NumPy 1.10, + Degrees of freedom, should be > 0 as of NumPy 1.10.0, should be > 1 for earlier versions. nonc : float or array_like of floats Non-centrality, should be non-negative. |
