8000 Merge pull request #7015 from njsmith/fix-1.10-messages · numpy/numpy@a97f3a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit a97f3a6

Browse files
committed
Merge pull request #7015 from njsmith/fix-1.10-messages
DOC: Clean up/fix several references to the "future" 1.10 release
2 parents 7141f40 + c0f6c37 commit a97f3a6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

doc/source/reference/ufuncs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ advanced usage and will not typically be used.
333333
with previous versions of NumPy, this defaults to 'unsafe' for numpy < 1.7.
334334
In numpy 1.7 a transition to 'same_kind' was begun where ufuncs produce a
335335
DeprecationWarning for calls which are allowed under the 'unsafe'
336-
rules, but not under the 'same_kind' rules. In numpy 1.10 the default
337-
will be 'same_kind'.
336+
rules, but not under the 'same_kind' rules. From numpy 1.10 and
337+
onwards, the default is 'same_kind'.
338338

339339
*order*
340340

numpy/add_newdocs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3466,7 +3466,7 @@ def luf(lamdaexpr, *args, **kwargs):
34663466
34673467
Return specified diagonals. In NumPy 1.9 the returned array is a
34683468
read-only view instead of a copy as in previous NumPy versions. In
3469-
NumPy 1.10 the read-only restriction will be removed.
3469+
a future version the read-only restriction will be removed.
34703470
34713471
Refer to :func:`numpy.diagonal` for full documentation.
34723472

numpy/core/fromnumeric.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,11 +1217,11 @@ def diagonal(a, offset=0, axis1=0, axis2=1):
12171217
but depending on this fact is deprecated. Writing to the resulting
12181218
array continues to work as it used to, but a FutureWarning is issued.
12191219
1220-
In NumPy 1.9 it returns a read-only view on the original array.
1220+
Starting in NumPy 1.9 it returns a read-only view on the original array.
12211221
Attempting to write to the resulting array will produce an error.
12221222
1223-
In NumPy 1.10, it will return a read/write view and writing to the
1224-
returned array will alter your original array. The returned array
1223+
In some future release, it will return a read/write view and writing to
1224+
the returned array will alter your original array. The returned array
12251225
will have the same type as the input array.
12261226
12271227
If you don't write to the array returned by this function, then you can

0 commit comments

Comments
 (0)
0